Metalama 1.0 / / Metalama Documentation / Aspect API / Metalama.​Framework.​Code / IGeneric / Is­Canonical­Generic­Instance

Property IsCanonicalGenericInstance

IsCanonicalGenericInstance

Gets a value indicating whether all type parameters are bound to themselves, i.e. if the content of TypeArguments and TypeParameters are equal. This property returns true if the current declaration has no generic argument. For generic methods, this property returns false if the declaring type is generic but is not a canonical generic instance.

Declaration
bool IsCanonicalGenericInstance { get; }
Property Value
Type Description
Boolean