Given an object of type .NET found by reflection, is it possible to print or decompile this type nicely as a C # declaration, taking into account aliases of C # types, etc.
For instance,
Int32 -> int String -> string Nullable<Int32> -> int? List<au.net.ExampleObject> -> List<ExampleObject>
I want to be able to print methods close to what was originally written in the source.
If there is nothing in the .NET Framework, is there a third-party library? Perhaps I could take a look at ILSpy .
source share