8 references to IsCollectible
System.Private.CoreLib (3)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\Loader\AssemblyLoadContext.cs (3)
102var thisHandle = GCHandle.Alloc(this, IsCollectible ? GCHandleType.WeakTrackResurrection : GCHandleType.Normal); 122Debug.Assert(IsCollectible); 501if (!IsCollectible)
System.Private.DataContractSerialization (2)
System\Runtime\Serialization\ContextAware.cs (2)
33if (alc == null || !alc.IsCollectible) 74if (alc == null || !alc.IsCollectible)
System.Private.Xml (2)
System\Xml\Serialization\Compilation.cs (1)
644if (typeALC == null || !typeALC.IsCollectible)
System\Xml\Serialization\ContextAwareTables.cs (1)
38if (!t.IsCollectible && !(alc?.IsCollectible ?? false))
System.Reflection.DispatchProxy (1)
System\Reflection\DispatchProxyGenerator.cs (1)
133alc.IsCollectible ? AssemblyBuilderAccess.RunAndCollect : AssemblyBuilderAccess.Run;