diff options
author | Daniel Harvey <dharvey@microsoft.com> | 2017-03-24 00:17:39 +0300 |
---|---|---|
committer | Daniel Harvey <dharvey@microsoft.com> | 2017-03-24 00:17:39 +0300 |
commit | 7b9150c72e88384d265d1e64aca2b9e366ee6ea3 (patch) | |
tree | cb036f354fb273da6d8ee056fc749e8cb4762fa0 | |
parent | 3a71581cc3c6a81a004bbb1c48aa47d5aeb48d17 (diff) |
Fix for GetUninitializedType
[tfs-changeset: 1651850]
-rw-r--r-- | src/System.Private.CoreLib/src/System/Runtime/CompilerServices/RuntimeHelpers.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/System.Private.CoreLib/src/System/Runtime/CompilerServices/RuntimeHelpers.cs b/src/System.Private.CoreLib/src/System/Runtime/CompilerServices/RuntimeHelpers.cs index 5d113ea32..e12aa7e99 100644 --- a/src/System.Private.CoreLib/src/System/Runtime/CompilerServices/RuntimeHelpers.cs +++ b/src/System.Private.CoreLib/src/System/Runtime/CompilerServices/RuntimeHelpers.cs @@ -259,7 +259,7 @@ namespace System.Runtime.CompilerServices throw new NotSupportedException(SR.NotSupported_ManagedActivation); } - EETypePtr eeTypePtr = type.TypeHandle.EETypePtr; + EETypePtr eeTypePtr = type.TypeHandle.ToEETypePtr(); if (eeTypePtr == EETypePtr.EETypePtrOf<string>()) { |