Replace tfm based constants with SDK ones (dotnet/corefxdotnet/coreclr#41601)
authorEriawan Kusumawardhono <eriawan@live.com>
Tue, 15 Oct 2019 17:11:40 +0000 (00:11 +0700)
committerJan Kotas <jkotas@microsoft.com>
Tue, 22 Oct 2019 02:27:01 +0000 (19:27 -0700)
* replace DefineConstants with SDK ones

Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
Commit migrated from https://github.com/dotnet/coreclr/commit/6909f63cce34a6112dbf34c2ae15c94c88173f33

src/libraries/System.Private.CoreLib/src/System/IO/PinnedBufferMemoryStream.cs
src/libraries/System.Private.CoreLib/src/System/Runtime/CompilerServices/ConfiguredValueTaskAwaitable.cs
src/libraries/System.Private.CoreLib/src/System/Runtime/CompilerServices/ValueTaskAwaiter.cs
src/libraries/System.Private.CoreLib/src/System/SpanHelpers.T.cs

index 8c1317c..9c00297 100644 (file)
@@ -37,7 +37,7 @@ namespace System.IO
                 Initialize(ptr, len, len, FileAccess.Read);
         }
 
-#if !netstandard
+#if !NETSTANDARD2_0
         public override int Read(Span<byte> buffer) => ReadCore(buffer);
 
         public override void Write(ReadOnlySpan<byte> buffer) => WriteCore(buffer);
index 8b3a2cb..5f673c7 100644 (file)
@@ -3,7 +3,7 @@
 // See the LICENSE file in the project root for more information.
 
 using System.Diagnostics;
-#if !netstandard
+#if !NETSTANDARD2_0
 using Internal.Runtime.CompilerServices;
 #endif