[Mono-bugs] [Bug 581804] 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 18:17:17 EST 2010
http://bugzilla.novell.com/show_bug.cgi?id=581804
http://bugzilla.novell.com/show_bug.cgi?id=581804#c3
--- Comment #3 from scott fluto <srfcanada at hotmail.com> 2010-02-22 23:17:16 UTC ---
create a generic class of type T and create the same CopyUnsafe method
signatures :
public virtual void CopyUnsafe(T[] value, params long[] fromIdx){}
public virtual void CopyUnsafe(T[] value, long fromIdx){}
and create a third method as follows:
public virtual void CopyUnsafe(T[] value)
{
CopyUnsafe(value, 0);
}
this one should generate the ambiguous error when you try compiling it.
scott
--
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