MemberInfo.IsCollectible Property

Definition

Gets a value that indicates whether this MemberInfo object is part of an assembly held in a collectible AssemblyLoadContext.

public virtual bool IsCollectible { get; }

Property Value

true if the MemberInfo is part of an assembly held in a collectible assembly load context; 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