Re: C# and the keyword namespace

2010-06-07 Thread Jeremy Custenborder
Yes I can do that and this answers my question. I agree with you that I maintaining a keyword list is a bad idea. I was not sure what the other implementations do or have planned. Thanks! On Mon, Jun 7, 2010 at 12:50 PM, Doug Cutting wrote: > Jeremy, > > Rather than trying to have Avro contain

Re: C# and the keyword namespace

2010-06-07 Thread Doug Cutting
Jeremy, Rather than trying to have Avro contain a universal set of reserved words, each implementation should somehow cope with its own reserved words. The java version of Avro mangles Java's reserved words with a final dollar-sign. See for example TestSpecificCompiler#testManglingForProtoc

C# and the keyword namespace

2010-06-07 Thread Jeremy Custenborder
All, Some of you might already know that I have been working on the .net port of Avro. I'm looking at the protocol example namespace.avpr and for c# there is a slight problem. The avro namespace for this protocol contains the keyword "namespace" which is a reserved keyword in C#. This prevents me