Open SilentSin opened 5 years ago
Totally agree - we should be using the language type object
Is this done by a simple function somewhere that just takes a Type
and returns a string
for it or is there something more complicated involved?
If it is just a function, I'd be happy to share the one I use when procedurally generating scripts based on reflection.
It would probably help with https://github.com/Wyamio/Wyam/issues/737 as well.
Other types like
float
use their lowercase keywords instead of the actual type nameSystem.Single
butobject
doesn't.