[
https://issues.apache.org/jira/browse/THRIFT-634?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Bryan Duxbury closed THRIFT-634.
--------------------------------
Assignee: Jon S Akhtar
Fix Version/s: 0.5
Resolution: Fixed
I just committed this.
> C# Compiler Generates Incorrect Code For Fields which begin with an uppercase
> letter
> ------------------------------------------------------------------------------------
>
> Key: THRIFT-634
> URL: https://issues.apache.org/jira/browse/THRIFT-634
> Project: Thrift
> Issue Type: Bug
> Components: C# - Compiler
> Reporter: Jon S Akhtar
> Assignee: Jon S Akhtar
> Fix For: 0.5
>
> Attachments: csharp_property_issues.patch
>
>
> the code generator for C# generates properties which have the name of the
> field with the first letter uppercased. So field 'foo' would become property
> 'Foo' with 'foo' as its backing field.
> Since the isset is being managed in the property setter, I just added a "_"
> to the backing field, and changed all the field references to refer to the
> property instead.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.