[Mono-bugs] [Bug 581804] New: error CS0121: The call is ambiguous between the following methods or properties

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Feb 22 10:27:19 EST 2010


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

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


           Summary: error CS0121: The call is ambiguous between the
                    following methods or properties
    Classification: Mono
           Product: Mono: Class Libraries
           Version: 2.6.x
          Platform: 64bit
        OS/Version: RHEL 5
            Status: NEW
          Severity: Critical
          Priority: P5 - None
         Component: CORLIB
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: srfcanada at hotmail.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


User-Agent:       Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.2; WOW64;
Trident/4.0)

Using build from Feb 19, 2010 I get this error. Im not sure if this was
happening before since other errors were resolved so now I can get to building
this part. The bug from https://bugzilla.novell.com/show_bug.cgi?id=579493 was
fixed but now I get the following error compiling the class:

erver/DomainModel/DataContainers/Array.cs(1119,10): error CS0121: The call is
ambiguous between the following methods or properties:
`Drms.Server.DomainModel.DataContainers.Array<T>.CopyUnsafe(T[], long)' and
`Drms.Server.DomainModel.DataContainers.Array<T>.CopyUnsafe(T[], params
long[])'
Server/DomainModel/DataContainers/Array.cs(1146,27): (Location of the symbol
related to previous error)
Server/DomainModel/DataContainers/Array.cs(1128,27): (Location of the symbol
related to previous error)

This is the statement its having problems:
CopyUnsafe(value, 0);
Note that it shouldnt be ambiguous since its obvious that it should use the
first declaration.

Reproducible: Always

Steps to Reproduce:
1.
2.
3.

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