add support for C# compiler generated types