[Mono-bugs] [Bug 75927][Nor] New - mcs cannot find method with ulong argument for an invocation with constant

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Mon Aug 29 04:27:57 EDT 2005


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 atsushi at ximian.com.

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

--- shadow/75927	2005-08-29 04:27:57.000000000 -0400
+++ shadow/75927.tmp.1817	2005-08-29 04:27:57.000000000 -0400
@@ -0,0 +1,48 @@
+Bug#: 75927
+Product: Mono: Compilers
+Version: 1.1
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: C#
+AssignedTo: mono-bugs at ximian.com                            
+ReportedBy: atsushi at ximian.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: mcs cannot find method with ulong argument for an invocation with constant
+
+When a method is defined to take ulong argument, and there is an invocation
+of the method whose ulong argument is a constant, then mcs fails to find
+out it.
+
+class FooTest
+{
+        public static void Main ()
+        {
+                ulong ul1 = 1;
+                Foo (ul1, ul1, ul1);
+                Foo (0x2000L, 0x0L, 0x100L);
+        }
+
+        static void Foo (ulong l1, ulong l2, ulong l3)
+        {
+        }
+}
+
+Actual Results:
+
+long-const.cs(7,3): error CS1501: No overload for method `Foo' takes `3'
+arguments.
+
+Expected Results:
+
+compiles successfully.
+
+Additional Information:
+
+Currently it is the blocker for minosse.


More information about the mono-bugs mailing list