From: Michal Strehovský Date: Sat, 1 Jul 2017 03:04:18 +0000 (-0700) Subject: Merge pull request dotnet/corertdotnet/coreclr#4046 from dotnet/nmirror X-Git-Tag: submit/tizen/20210909.063632~11030^2~6925^2~286 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4f6a02ada74a48122ffbcf1528a38db3c3b84866;p=platform%2Fupstream%2Fdotnet%2Fruntime.git Merge pull request dotnet/corertdotnet/coreclr#4046 from dotnet/nmirror Merge nmirror to master Signed-off-by: dotnet-bot Commit migrated from https://github.com/dotnet/coreclr/commit/bfc3141f97a9f9f0d095f3d2e99a7c02ce869ab0 --- diff --git a/src/coreclr/src/mscorlib/shared/System/ReadOnlySpan.cs b/src/coreclr/src/mscorlib/shared/System/ReadOnlySpan.cs index 0851b25..ae49f59 100644 --- a/src/coreclr/src/mscorlib/shared/System/ReadOnlySpan.cs +++ b/src/coreclr/src/mscorlib/shared/System/ReadOnlySpan.cs @@ -15,6 +15,7 @@ namespace System /// ReadOnlySpan represents a contiguous region of arbitrary memory. Unlike arrays, it can point to either managed /// or native memory, or to memory allocated on the stack. It is type- and memory-safe. /// + [IsByRefLike] public struct ReadOnlySpan { /// A byref or a native ptr. diff --git a/src/coreclr/src/mscorlib/shared/System/Span.cs b/src/coreclr/src/mscorlib/shared/System/Span.cs index 2494ce3..88612eb 100644 --- a/src/coreclr/src/mscorlib/shared/System/Span.cs +++ b/src/coreclr/src/mscorlib/shared/System/Span.cs @@ -22,6 +22,7 @@ namespace System /// Span represents a contiguous region of arbitrary memory. Unlike arrays, it can point to either managed /// or native memory, or to memory allocated on the stack. It is type- and memory-safe. /// + [IsByRefLike] public struct Span { /// A byref or a native ptr.