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:
authorMarek Safar <marek.safar@gmail.com>2018-09-19 15:19:22 +0300
committerGitHub <noreply@github.com>2018-09-19 15:19:22 +0300
commitefd29b5cf854679349066e22ef9038b8cfe76d94 (patch)
tree2de750c1ac8a487d7f6d149592a6362ade6a5a77 /src/Common/src/TypeSystem/Interop/IL/NativeStructType.cs
parentf9124d69e41d42196510dd7234b2d53fed48ad4c (diff)
parent49f9ed0e66fc2d4cd682821396c6af5e80182048 (diff)
Merge pull request #25 from ntherning/bump-corert
Bump to latest upstream
Diffstat (limited to 'src/Common/src/TypeSystem/Interop/IL/NativeStructType.cs')
-rw-r--r--src/Common/src/TypeSystem/Interop/IL/NativeStructType.cs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/Common/src/TypeSystem/Interop/IL/NativeStructType.cs b/src/Common/src/TypeSystem/Interop/IL/NativeStructType.cs
index 87fb167a6..41b80e191 100644
--- a/src/Common/src/TypeSystem/Interop/IL/NativeStructType.cs
+++ b/src/Common/src/TypeSystem/Interop/IL/NativeStructType.cs
@@ -148,7 +148,6 @@ namespace Internal.TypeSystem.Interop
public NativeStructType(ModuleDesc owningModule, MetadataType managedStructType, InteropStateManager interopStateManager)
{
Debug.Assert(managedStructType.IsTypeDefinition);
- Debug.Assert(managedStructType.IsValueType);
Debug.Assert(!managedStructType.IsGenericDefinition);
Module = owningModule;
@@ -301,7 +300,7 @@ namespace Internal.TypeSystem.Interop
}
flags |= TypeFlags.HasFinalizerComputed;
- flags |= TypeFlags.IsByRefLikeComputed;
+ flags |= TypeFlags.AttributeCacheComputed;
return flags;
}