Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/corert.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Harvey <dharvey@microsoft.com>2017-03-24 00:17:39 +0300
committerDaniel Harvey <dharvey@microsoft.com>2017-03-24 00:17:39 +0300
commit7b9150c72e88384d265d1e64aca2b9e366ee6ea3 (patch)
treecb036f354fb273da6d8ee056fc749e8cb4762fa0
parent3a71581cc3c6a81a004bbb1c48aa47d5aeb48d17 (diff)
Fix for GetUninitializedType
[tfs-changeset: 1651850]
-rw-r--r--src/System.Private.CoreLib/src/System/Runtime/CompilerServices/RuntimeHelpers.cs2
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>())
{