6 overrides of IsCollectible
System.Private.CoreLib (6)
src\libraries\System.Private.CoreLib\src\System\Reflection\ModifiedType.cs (1)
183
public override bool
IsCollectible
=> _unmodifiedType.IsCollectible;
src\libraries\System.Private.CoreLib\src\System\Reflection\TypeDelegator.cs (1)
157
public override bool
IsCollectible
=> typeImpl.IsCollectible;
src\System\Reflection\RuntimeFieldInfo.cs (1)
48
public override bool
IsCollectible
=> m_declaringType.IsCollectible;
src\System\Reflection\RuntimeMethodInfo.CoreCLR.cs (1)
322
public override bool
IsCollectible
=> RuntimeMethodHandle.GetIsCollectible(new RuntimeMethodHandleInternal(m_handle)) != Interop.BOOL.FALSE;
src\System\Reflection\RuntimePropertyInfo.cs (1)
183
public override bool
IsCollectible
=> m_declaringType.IsCollectible;
src\System\RuntimeType.CoreCLR.cs (1)
3238
public sealed override bool
IsCollectible
8 references to IsCollectible
System.Linq.Expressions (5)
System\Dynamic\Utils\TypeExtensions.cs (1)
74
if (!method.
IsCollectible
)
System\Linq\Expressions\Compiler\DelegateHelpers.Generated.cs (1)
77
if (!lookingUp.
IsCollectible
)
System\Linq\Expressions\LambdaExpression.cs (2)
633
if (delegateType.
IsCollectible
)
930
if (!delegateType.
IsCollectible
)
System\Runtime\CompilerServices\CallSite.cs (1)
104
if (delegateType.
IsCollectible
)
System.Private.CoreLib (2)
src\libraries\System.Private.CoreLib\src\System\Reflection\ModifiedType.cs (1)
183
public override bool IsCollectible => _unmodifiedType.
IsCollectible
;
src\libraries\System.Private.CoreLib\src\System\Reflection\TypeDelegator.cs (1)
157
public override bool IsCollectible => typeImpl.
IsCollectible
;
System.Runtime.InteropServices (1)
System\Runtime\InteropServices\Marshalling\ComImportInteropInterfaceDetailsStrategy.cs (1)
70
AssemblyBuilder assembly = AssemblyBuilder.DefineDynamicAssembly(new AssemblyName("ComImportForwarder"), runtimeType.
IsCollectible
? AssemblyBuilderAccess.RunAndCollect : AssemblyBuilderAccess.Run);