You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Jens Geyer (JIRA)" <ji...@apache.org> on 2014/05/30 14:54:03 UTC
[jira] [Updated] (THRIFT-2557) CS0542 member names cannot be the
same as their enclosing type
[ https://issues.apache.org/jira/browse/THRIFT-2557?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jens Geyer updated THRIFT-2557:
-------------------------------
Summary: CS0542 member names cannot be the same as their enclosing type (was: C# error CS0542 member names cannot be the same as their enclosing type)
> 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
>
> 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)