Correct C# generation

Defining generated classes as peers