Updated code generation stubs for C#