public static string GetGenericFullName(this IGenericDefinition self, ILanguage language) { if (self as TypeDefinition != null) { return((self as TypeDefinition).GetGenericFullTypeDefinitionName(language)); } if (self as MethodDefinition == null) { throw new Exception("Invalid generic member definition type."); } V_0 = self as MethodDefinition; return(V_0.GetFriendlyFullMethodReferenceName(language, V_0.GenericMemberFullName(language), true)); }