[Mono-bugs] [Bug 536593] MCS cannot compile simple public field assignment

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sun Sep 20 13:35:59 EDT 2009


User miguel at novell.com added comment

Miguel de Icaza <miguel at novell.com> changed:

           What    |Removed                     |Added
             Status|NEW                         |NEEDINFO
                 CC|                            |miguel at novell.com
      Info Provider|                            |rkumpera at novell.com

--- Comment #1 from Miguel de Icaza <miguel at novell.com>  2009-09-20 11:35:55 MDT ---
The warning to me seems correct, there are two fields with different types
defined on that MSIL file:

    .field  public  int32 a
    .field  public  string a

The Microsoft C# compiler picks the first field defined in the order it is
present on the metadata.   We error out in this condition.

I am myself not convinced that our compiler is wrong in this case.

Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.

More information about the mono-bugs mailing list