diff options
author | Jan Kotas <jkotas@microsoft.com> | 2018-09-08 03:08:21 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-08 03:08:21 +0300 |
commit | cc2b5096c1015ef3f84607b4fad3aa0090c1129d (patch) | |
tree | 3f4780df42e1064d68a6c6508d254c3ae52e3fb5 | |
parent | cab2467d83651d5299adcfb167c9a635f8f84f7c (diff) | |
parent | 878be8e120fba51f1a1f4d49b83aff6a1c4e0c79 (diff) |
Merge pull request #6310 from dotnet-bot/from-tfs
Merge changes from TFS
-rw-r--r-- | src/System.Private.CoreLib/shared/System/IntPtr.cs | 3 | ||||
-rw-r--r-- | src/System.Private.CoreLib/shared/System/UIntPtr.cs | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/src/System.Private.CoreLib/shared/System/IntPtr.cs b/src/System.Private.CoreLib/shared/System/IntPtr.cs index f79334a96..d23742fa7 100644 --- a/src/System.Private.CoreLib/shared/System/IntPtr.cs +++ b/src/System.Private.CoreLib/shared/System/IntPtr.cs @@ -217,6 +217,9 @@ namespace System [CLSCompliant(false)] [Intrinsic] [NonVersionable] +#if PROJECTN + [System.Runtime.CompilerServices.DependencyReductionRootAttribute] +#endif public unsafe void* ToPointer() { return _value; diff --git a/src/System.Private.CoreLib/shared/System/UIntPtr.cs b/src/System.Private.CoreLib/shared/System/UIntPtr.cs index 9534f4f87..c57dd86a7 100644 --- a/src/System.Private.CoreLib/shared/System/UIntPtr.cs +++ b/src/System.Private.CoreLib/shared/System/UIntPtr.cs @@ -208,6 +208,9 @@ namespace System [Intrinsic] [NonVersionable] +#if PROJECTN + [System.Runtime.CompilerServices.DependencyReductionRootAttribute] +#endif public unsafe void* ToPointer() { return _value; |