MetalamaAPI documentationAspect APIMetalama.​Framework.​CodeGeneric­ExtensionsIs­Self­Or­Declaring­Type­Generic
Open sandboxFocus

Method IsSelfOrDeclaringTypeGeneric

IsSelfOrDeclaringTypeGeneric(IMemberOrNamedType)

Returns true if the current declaration, or any the declaring type, is generic.

Declaration
public static bool IsSelfOrDeclaringTypeGeneric(this IMemberOrNamedType declaration)
Parameters
Type Name Description
IMemberOrNamedType declaration
Returns
Type Description
System.Boolean