[Mono-bugs] [Bug 602443] New: Enum can't use int explicit operator

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue May 4 11:23:10 EDT 2010


http://bugzilla.novell.com/show_bug.cgi?id=602443

http://bugzilla.novell.com/show_bug.cgi?id=602443#c0


           Summary: Enum can't use int explicit operator
    Classification: Mono
           Product: Mono: Compilers
           Version: 2.6.x
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: C#
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: jpobst at novell.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


Created an attachment (id=359158)
 --> (http://bugzilla.novell.com/attachment.cgi?id=359158)
Test Case

Found compiling some MD code on Windows.

Attached code compiles with gmcs.  csc says the code is bad with:

test.cs(8,15): error CS0030: Cannot convert type 'TestCase.MyEnum' to
'TestCase.OSType'

-- 
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