[ 
https://issues.apache.org/jira/browse/THRIFT-3785?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jens Geyer closed THRIFT-3785.
------------------------------
    Resolution: Cannot Reproduce

> 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