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:
authorJon Hanna <jon@hackcraft.net>2017-12-05 07:24:35 +0300
committerJan Kotas <jkotas@microsoft.com>2017-12-05 09:27:13 +0300
commitc900f3d03df888df2271cc7e207cdc645ae94aa2 (patch)
tree1fa25467c56662b00f2c64fdf5c9dc83fc527775 /src/System.Private.Reflection.Core
parent422579c65097ba5e122aa2b2340cccad99d70f6e (diff)
Override of IsCollectible for runtime types (always false in corert) (#5069)
Diffstat (limited to 'src/System.Private.Reflection.Core')
-rw-r--r--src/System.Private.Reflection.Core/src/System/Reflection/Runtime/TypeInfos/RuntimeTypeInfo.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/System.Private.Reflection.Core/src/System/Reflection/Runtime/TypeInfos/RuntimeTypeInfo.cs b/src/System.Private.Reflection.Core/src/System/Reflection/Runtime/TypeInfos/RuntimeTypeInfo.cs
index 66f0850c1..3304d97a5 100644
--- a/src/System.Private.Reflection.Core/src/System/Reflection/Runtime/TypeInfos/RuntimeTypeInfo.cs
+++ b/src/System.Private.Reflection.Core/src/System/Reflection/Runtime/TypeInfos/RuntimeTypeInfo.cs
@@ -55,6 +55,7 @@ namespace System.Reflection.Runtime.TypeInfos
public abstract override bool IsGenericMethodParameter { get; }
public abstract override bool IsConstructedGenericType { get; }
public abstract override bool IsByRefLike { get; }
+ public sealed override bool IsCollectible => false;
public abstract override Assembly Assembly { get; }