File tree 2 files changed +0
-4
lines changed
src/libraries/System.Private.CoreLib/src/System 2 files changed +0
-4
lines changed Original file line number Diff line number Diff line change @@ -21,9 +21,7 @@ namespace System
21
21
[ DebuggerTypeProxy ( typeof ( SpanDebugView < > ) ) ]
22
22
[ DebuggerDisplay ( "{ToString(),raw}" ) ]
23
23
[ NonVersionable ]
24
- #pragma warning disable SYSLIB1056 // Specified native type is invalid
25
24
[ NativeMarshalling ( typeof ( ReadOnlySpanMarshaller < , > ) ) ]
26
- #pragma warning restore SYSLIB1056 // Specified native type is invalid
27
25
[ Intrinsic ]
28
26
public readonly ref struct ReadOnlySpan < T >
29
27
{
Original file line number Diff line number Diff line change @@ -20,9 +20,7 @@ namespace System
20
20
[ DebuggerTypeProxy ( typeof ( SpanDebugView < > ) ) ]
21
21
[ DebuggerDisplay ( "{ToString(),raw}" ) ]
22
22
[ NonVersionable ]
23
- #pragma warning disable SYSLIB1056 // Specified native type is invalid
24
23
[ NativeMarshalling ( typeof ( SpanMarshaller < , > ) ) ]
25
- #pragma warning restore SYSLIB1056 // Specified native type is invalid
26
24
[ Intrinsic ]
27
25
public readonly ref struct Span < T >
28
26
{
You can’t perform that action at this time.
0 commit comments