TypeNameFormatter provides some extension methods that can be used instead of Type.ToString() to format a type's name the way it would look in C#: * StringBuilder.AppendFormattedName(Type, [TypeNameFormatOptions]) * Type.GetFormattedName([TypeNameFormatOptions]) See the README at the project's GitHub repository for usage instructions. This package is a source code distribution of this library. It gets embedded into the referencing project and thus does not introduce an additional package reference for downstream consumers.
$ dotnet add package TypeNameFormatter.SourcesNo README available.