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

Jon S Akhtar updated THRIFT-634:
--------------------------------

    Attachment: csharp_property_issues.patch

> 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: Compiler (C#)
>            Reporter: Jon S Akhtar
>         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.

Reply via email to