[Mono-bugs] [Bug 336766] New: Incorrect CS0111 error

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Oct 25 10:47:18 EDT 2007


           Summary: Incorrect CS0111 error
           Product: Mono: Compilers
           Version: unspecified
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: C#
        AssignedTo: rharinath at novell.com
        ReportedBy: sanxiyn at gmail.com
         QAContact: mono-bugs at ximian.com
          Found By: ---

This breaks compilation of IronPython 2.0 Alpha 5.

public class test {
    public void CreateSimpleCallSite(int x) {}
    public void CreateSimpleCallSite<A>() {}
    public void CreateSimpleCallSite<A>(int x) {}

test.cs(4,17): error CS0111: A member `test.CreateSimpleCallSite<A>(int)' is
already defined. Rename this member or use different parameter types
test.cs(2,17): (Location of the symbol related to previous error)
Compilation failed: 1 error(s), 0 warnings

The code compiles with Mono 1.2.5 and MS.NET.

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

More information about the mono-bugs mailing list