8 overrides of IsCollectible
System.Private.CoreLib (8)
src\libraries\System.Private.CoreLib\src\System\Reflection\ModifiedType.cs (1)
185public override bool IsCollectible => _unmodifiedType.IsCollectible;
src\libraries\System.Private.CoreLib\src\System\Reflection\TypeDelegator.cs (1)
157public override bool IsCollectible => typeImpl.IsCollectible;
src\System\Reflection\RuntimeConstructorInfo.CoreCLR.cs (1)
176public override bool IsCollectible => ReflectedTypeInternal.IsCollectible;
src\System\Reflection\RuntimeEventInfo.cs (1)
132public override bool IsCollectible => ReflectedTypeInternal.IsCollectible;
src\System\Reflection\RuntimeFieldInfo.cs (1)
48public override bool IsCollectible => ReflectedTypeInternal.IsCollectible;
src\System\Reflection\RuntimeMethodInfo.CoreCLR.cs (1)
323public override bool IsCollectible
src\System\Reflection\RuntimePropertyInfo.cs (1)
183public override bool IsCollectible => ReflectedTypeInternal.IsCollectible;
src\System\RuntimeType.CoreCLR.cs (1)
3281public sealed override unsafe bool IsCollectible
16 references to IsCollectible
System.ComponentModel.TypeConverter (8)
System\ComponentModel\CollectibleKeyConcurrentHashtable.cs (4)
34if (!key.IsCollectible) 47return !key.IsCollectible ? _defaultTable.ContainsKey(key) : _collectibleTable.TryGetValue(key, out _); 52if (!key.IsCollectible) 67return !key.IsCollectible
System\ComponentModel\CollectibleKeyHashtable.cs (4)
13/// For keys where <see cref="MemberInfo.IsCollectible"/> is <c>false</c>, a standard <see cref="Hashtable"/> is used. 14/// For keys where <see cref="MemberInfo.IsCollectible"/> is <c>true</c>, a <see cref="ConditionalWeakTable{TKey, TValue}"/> is used. 27return !key.IsCollectible ? _defaultTable[key] : (_collectibleTable.TryGetValue(key, out object? value) ? value : null); 32if (!key.IsCollectible)
System.Linq.Expressions (5)
System\Dynamic\Utils\TypeExtensions.cs (1)
74if (!method.IsCollectible)
System\Linq\Expressions\Compiler\DelegateHelpers.Generated.cs (1)
77if (!lookingUp.IsCollectible)
System\Linq\Expressions\LambdaExpression.cs (2)
633if (delegateType.IsCollectible) 930if (!delegateType.IsCollectible)
System\Runtime\CompilerServices\CallSite.cs (1)
104if (delegateType.IsCollectible)
System.Private.CoreLib (2)
src\libraries\System.Private.CoreLib\src\System\Reflection\ModifiedType.cs (1)
185public override bool IsCollectible => _unmodifiedType.IsCollectible;
src\libraries\System.Private.CoreLib\src\System\Reflection\TypeDelegator.cs (1)
157public override bool IsCollectible => typeImpl.IsCollectible;
System.Runtime.InteropServices (1)
System\Runtime\InteropServices\Marshalling\ComImportInteropInterfaceDetailsStrategy.cs (1)
70AssemblyBuilder assembly = AssemblyBuilder.DefineDynamicAssembly(new AssemblyName("ComImportForwarder"), runtimeType.IsCollectible ? AssemblyBuilderAccess.RunAndCollect : AssemblyBuilderAccess.Run);