add back special cases

This commit is contained in:
Adam Hathcock
2024-09-03 09:46:33 +01:00
parent 26d8506cd7
commit f1bfeaa756
@@ -14,6 +14,17 @@ internal static class SymbolExtensions
{
return t.Name;
}
if (typeSymbol.SpecialType == SpecialType.None)
{
return typeSymbol.ToString();
}
if (typeSymbol.NullableAnnotation == NullableAnnotation.Annotated)
{
return typeSymbol.ToString();
}
return typeSymbol.ToDisplayString(SymbolDisplayFormat.FullyQualifiedFormat);
}