[Mono-bugs] [Bug 44229][Nor] Changed - mcs does not set beforefieldinit

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
Sun, 29 Jun 2003 01:42:44 -0400 (EDT)


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 miguel@ximian.com.

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

--- shadow/44229	Fri Jun 13 14:21:45 2003
+++ shadow/44229.tmp.3987	Sun Jun 29 01:42:43 2003
@@ -1,12 +1,12 @@
 Bug#: 44229
 Product: Mono/MCS
 Version: unspecified
 OS: other
 OS Details: 
-Status: NEW   
+Status: NEEDINFO   
 Resolution: 
 Severity: Unknown
 Priority: Normal
 Component: Misc
 AssignedTo: mono-bugs@ximian.com                            
 ReportedBy: dietmar@ximian.com               
@@ -60,6 +60,21 @@
 			}
 		}
 		
 		return 0;
 	}
 }
+
+------- Additional Comments From miguel@ximian.com  2003-06-29 01:42 -------
+I do not understand why this is a bug.
+
+The code above has two static variable initializers (a and b), so it
+is not possible to set beforefieldinit
+
+CSC does in fact do something else, but this looks wrong, as we have
+to initialize the type and call .cctor before the code is valid.
+
+Maybe am miss-understanding the use of beforefieldinit here.
+
+Setting this to NEEDINFO.
+
+Miguel