[Mono-bugs] [Bug 396350] Error CS0131 is reported when compiling code that casts a property, while it compiles cleanly with Microsoft's csc.exe

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Jun 2 08:48:49 EDT 2008


https://bugzilla.novell.com/show_bug.cgi?id=396350

User harinath at hurrynot.org added comment
https://bugzilla.novell.com/show_bug.cgi?id=396350#c2





--- Comment #2 from Raja Harinath <harinath at hurrynot.org>  2008-06-02 06:48:49 MDT ---
>From section 14.6.6 of Ecma 334, 4th edition

  The result is always classified as a value, even if E denotes a variable.

However, the MS compiler has an "enhancement" that allows casts to the same
type to violate this rule.


-- 
Configure bugmail: https://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