I'm looking for a way to easily replace all CLR-Type references in a codebase with a few thousand files with their respective alias types, specifically:
- "Int64" => "long"
- "Int32" => "int"
- "Int16" => "short"
- "UInt64" => "ulong"
- "UInt32" => "uint"
- "UInt16" => "ushort"
- "Double" => "double"
- "Single" => "float"
- "Decimal" => "decimal"
- "Byte" => "byte"
- "SByte" => "sbyte"
- "Object" => "object"
- "String" => "string"
- "Char" => "char"
- "Boolean" => "bool"
I've found this tool AliasBeGone that does it the other way around and is for older visual studio versions and only for a single file at a time. Is there a tool out there that can do what I'm trying to achieve or is it best if I keep trying to make a solution of my own using either a console application or a bash script?
If anyone could point me in the right direction that would be much appreciated.