AssemblyBuilder.IsCollectible Property

Definition

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

C#
public override bool IsCollectible { get; }

Property Value

true if this dynamic 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 6, 7, 8, 9