The C# code generator, both when declaring and when referring to method parameters, should spell the identifiers' verbatim, but it does not. e.g. a method parameter named "event" should be spelled "@event" so that the emitted code is compilable. 