[
https://issues.apache.org/jira/browse/THRIFT-3785?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15232852#comment-15232852
]
Jens Geyer edited comment on THRIFT-3785 at 4/8/16 8:16 PM:
------------------------------------------------------------
Maybe you want to add some IDL file. I can't reproduce this with master.
was (Author: jensg):
Maybe you want to add some IDL file. I can't reproduce this.
> 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)