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 property bool IsCollectible { bool get(); };
public virtual bool IsCollectible { get; }
member this.IsCollectible : bool
Public Overridable ReadOnly Property IsCollectible As Boolean

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