public override string? FullName {
get {
- // https://bugzilla.xamarin.com/show_bug.cgi?id=57938
- if (IsGenericType && ContainsGenericParameters && !IsGenericTypeDefinition)
+ // See https://github.com/mono/mono/issues/18180 and
+ // https://github.com/dotnet/runtime/blob/f23e2796ab5f6fea71c9fdacac024822280253db/src/coreclr/src/System.Private.CoreLib/src/System/RuntimeType.CoreCLR.cs#L1468-L1472
+ if (ContainsGenericParameters && !GetRootElementType().IsGenericTypeDefinition)
return null;
string fullName;