Assembly.IsCollectible Property

Definition

Gets a value that indicates whether this assembly is held in a collectible AssemblyLoadContext.

C#
public virtual bool IsCollectible { get; }

Property Value

true if this assembly is held in a collectible AssemblyLoadContext; otherwise, false.

Remarks

For more information, see How to use and debug assembly unloadability in .NET Core.

Applies to

Product Versions
.NET Core 3.0, Core 3.1, 5, 6, 7, 8, 9