[Mono-bugs] [Bug 79213][Nor] Changed - Unhandled Exception when calling method in struct with '-' in the argument list.

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Tue Aug 29 15:48:48 EDT 2006


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 vargaz at gmail.com.

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

--- shadow/79213	2006-08-29 15:40:26.000000000 -0400
+++ shadow/79213.tmp.2436	2006-08-29 15:48:48.000000000 -0400
@@ -2,13 +2,13 @@
 Product: Mono: Runtime
 Version: 1.1
 OS: SUSE 9.1
 OS Details: Fedora 4 x86_64
 Status: NEW   
 Resolution: 
-Severity: 
+Severity: Unknown
 Priority: Normal
 Component: JIT
 AssignedTo: lupus at ximian.com                            
 ReportedBy: billholmes54 at gmail.com               
 QAContact: mono-bugs at ximian.com
 TargetMilestone: ---
@@ -32,6 +32,34 @@
 problem goes away.
 
 ------- Additional Comments From billholmes54 at gmail.com  2006-08-29 15:40 -------
 Created an attachment (id=17548)
 Code to reproduce defect.
 
+
+------- Additional Comments From vargaz at gmail.com  2006-08-29 15:48 -------
+Smaller testcase:
+<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
+using System;
+
+    public struct PointF
+    {
+        private float _x;
+        private float _y;
+
+    }
+
+
+    public class Program
+    {
+        public static void Offset (PointF point, float yOffset)
+        {
+        }
+
+        static public void Main (string [] args)
+        {
+            float test = 100;
+            
+            Offset (new PointF (), -(test));
+        }
+    }
+>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>


More information about the mono-bugs mailing list