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