I found out the reason why the keyword 'void' was truncated to 'oid' and it is reproducable.
I started with the following exact code
namespace VAX_Test
{
class Class1
{
static void Main(string[] args)
{
String myString;
String myCloneString = myString.Trim();
}
}
}
Where each bracket is directly followed each other on the next lines. When you put one extra linefeed between the brackets the keyword 'void' is not truncated
namespace VAX_Test
{
class Class1
{
static void Main(string[] args)
{
String myString;
String myCloneString = myString.Trim();
}
// <-- notice the extra linefeed
}
}