Skip to content

Commit

Permalink
Replace tfm based constants with SDK ones (dotnet/corefxdotnet/corecl…
Browse files Browse the repository at this point in the history
…r#41601)

* replace DefineConstants with SDK ones

Signed-off-by: dotnet-bot <[email protected]>


Commit migrated from dotnet/coreclr@6909f63
  • Loading branch information
eriawan authored and jkotas committed Oct 22, 2019
1 parent 47a534e commit 1c0ce3d
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ internal PinnedBufferMemoryStream(byte[] array)
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);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
using System.Threading.Tasks;
using System.Threading.Tasks.Sources;

#if !netstandard
#if !NETSTANDARD2_0
using Internal.Runtime.CompilerServices;
#endif

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
using System.Threading.Tasks;
using System.Threading.Tasks.Sources;

#if !netstandard
#if !NETSTANDARD2_0
using Internal.Runtime.CompilerServices;
#endif

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 1c0ce3d

Please sign in to comment.