We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 035f45d commit d2655abCopy full SHA for d2655ab
1 file changed
Generator.cs
@@ -84,6 +84,7 @@ public static TypeReference GetUnderlyingType(this TypeReference type)
84
if (genericDefinition.GenericParameters.Count != 1 && genericDefinition.FullName != "System.Nullable`1")
85
return type;
86
87
+ return genericType.GenericArguments.FirstOrDefault() ?? type;
88
}
89
90
public static bool HasInterface(this TypeReference typeReference, string fullName)
0 commit comments