[Mono-bugs] [Bug 36670][Nor] New - static constructor problems

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
Mon, 13 Jan 2003 15:58:18 -0500 (EST)


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 seank@users.sf.net.

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

--- shadow/36670	Mon Jan 13 15:58:18 2003
+++ shadow/36670.tmp.23439	Mon Jan 13 15:58:18 2003
@@ -0,0 +1,44 @@
+Bug#: 36670
+Product: Mono/Runtime
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: seank@users.sf.net               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: static constructor problems
+
+Description of Problem:
+
+Static constructors aren't being called correctly according to the ECMA spec.
+
+Steps to reproduce the problem:
+
+Go to http://www.jaggersoft.com/csharp_standard/17.11.htm
+The two examples in Paragraph 7 do not produce the desired output.
+
+Actual Results:
+A.F
+B.F
+
+and
+
+X = 2, Y = 1
+
+Expected Results:
+Init A  
+A.F  
+Init B  
+B.F
+
+and
+
+X = 1, Y = 2