[ 
https://issues.apache.org/jira/browse/THRIFT-3785?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15233434#comment-15233434
 ] 

Andre commented on THRIFT-3785:
-------------------------------

I think this can indeed be ignored - I had a field with the name "base" - so 
it's basically my problem :)

> C# generator generates code with a keyword as variable name
> -----------------------------------------------------------
>
>                 Key: THRIFT-3785
>                 URL: https://issues.apache.org/jira/browse/THRIFT-3785
>             Project: Thrift
>          Issue Type: Bug
>          Components: C# - Compiler
>    Affects Versions: 0.9.3
>            Reporter: Andre
>            Assignee: Jens Geyer
>
> One structure is named InstrumentBase.  It is included as a field in another 
> structure, Equity.  A piece of the final C# code looks like this:
> {code}
>     public Equity(InstrumentBase base) : this() {
>       this.Base = base;
>     }
> {code}
> but base is a keyword in C#, so this doesn't compile.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to