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

Hudson commented on THRIFT-2557:
--------------------------------

SUCCESS: Integrated in Thrift #1206 (See 
[https://builds.apache.org/job/Thrift/1206/])
THRIFT-2557 CS0542 member names cannot be the same as their enclosing type 
(jensg: rev 6f86f9ac583a9ce088568fb149f58bf0d88ee549)
* test/NameConflictTest.thrift
* compiler/cpp/src/generate/t_csharp_generator.cc


> CS0542 member names cannot be the same as their enclosing type
> --------------------------------------------------------------
>
>                 Key: THRIFT-2557
>                 URL: https://issues.apache.org/jira/browse/THRIFT-2557
>             Project: Thrift
>          Issue Type: Bug
>          Components: C# - Compiler
>            Reporter: Jens Geyer
>            Assignee: Jens Geyer
>             Fix For: 0.9.2
>
>         Attachments: 
> THRIFT-2557_CS0542_member_names_cannot_be_same_as_enclosing_type_v2.patch, 
> thrift-2557-csharp-CS0542-testcase.thrift
>
>
> The following IDL, although perfectly legal, leads to error CS0542 with C#:
> {code:title=test.thrift}
> struct ClassAndProp {
>   1: bool ClassAndProp
> }
> {code}
> gives
> > error CS0542: 'ClassAndProp': member names cannot be the same as their 
> > enclosing type



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to