[Mono-bugs] [Bug 536463] New: [GMCS] CS0102 incorrectly reported for a nested class with same name as an explicit implementation method/prop

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Sep 3 02:51:19 EDT 2009


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


           Summary: [GMCS] CS0102 incorrectly reported for a nested class
                    with same name as an explicit implementation
                    method/prop
    Classification: Mono
           Product: Mono: Compilers
           Version: 2.4.x
          Platform: Macintosh
        OS/Version: Mac OS X 10.5
            Status: NEW
          Severity: Minor
          Priority: P5 - None
         Component: C#
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: p.bludov at wi2geo.ru
         QAContact: mono-bugs at lists.ximian.com
          Found By: Community of Practice


Description of Problem:


Steps to reproduce the problem:

class CS0102 : System.ICloneable
{
    object System.ICloneable.Clone() { return this; }
    public class Clone { }
}


Actual Results:
error CS0102: The type `CS0102' already contains a definition for `Clone'

Expected Results:
(success)

Additional Information:


class CS0102 : System.ICloneable
{
    public class Clone { }
    object System.ICloneable.Clone() { return this; }
}

compiles without errors.

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