[Mono-bugs] [Bug 68935][Nor] New - Ambiguous call when selecting function

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Fri, 29 Oct 2004 11:17:22 -0400 (EDT)


Invalid Ambiguous call when selecting function due to implicit casts error
In-Reply-To: <bug-68935@chernobyl.ximian.com>
X-Bugzilla-Product: Mono: Compilers
X-Bugzilla-Component: C#
X-Bugzilla-Status: NEW
X-Bugzilla-Priority: Normal
X-Bugzilla-Severity: 
X-Bugzilla-Target-Milestone: ---

Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by jordi@ximian.com.

http://bugzilla.ximian.com/show_bug.cgi?id=68935

--- shadow/68935	2004-10-29 11:17:22.000000000 -0400
+++ shadow/68935.tmp.4793	2004-10-29 11:17:22.000000000 -0400
@@ -0,0 +1,30 @@
+Bug#: 68935
+Product: Mono: Compilers
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: C#
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: jordi@ximian.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Ambiguous call when selecting function 
+Invalid Ambiguous call when selecting function due to implicit casts error
+
+The attached programes gives the following errors with mcs:
+
+$ mcs KeyConverterDump.cs -r:System.Windows.Forms
+KeyConverterDump.cs(20) error CS0121: Ambiguous call when selecting function 
+due to implicit casts
+KeyConverterDump.cs(20) error CS8006: Could not find any applicable function 
+for this argument list
+Compilation failed: 2 error(s), 0 warnings
+
+
+... but it compiles fine with Microsoft compiler