[Mono-bugs] [Bug 52499][Wis] Changed - Compiling a program with CS0110 results in a nullref

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Tue, 23 Dec 2003 21:41:02 -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 pcgod@gmx.net.


--- shadow/52499	2003-12-23 14:03:46.000000000 -0500
+++ shadow/52499.tmp.11205	2003-12-23 21:41:02.000000000 -0500
@@ -1,14 +1,14 @@
 Bug#: 52499
 Product: Mono/Compilers
 Version: unspecified
+OS: unknown
 OS Details: 
 Status: NEW   
+Severity: Unknown
 Priority: Wishlist
 Component: C#
 AssignedTo: mono-bugs@ximian.com                            
 ReportedBy: bmaurer@users.sf.net               
 QAContact: mono-bugs@ximian.com
 TargetMilestone: ---
@@ -32,6 +32,14 @@
 an instance of an object.
    at Mono.CSharp.Const.LookupConstantValue()
    at Mono.CSharp.TypeContainer.EmitConstants()
    at Mono.CSharp.RootContext.EmitCode()
    at Mono.CSharp.Driver.MainDriver(String[] args)
    at Mono.CSharp.Driver.Main(String[] args)
+------- Additional Comments From pcgod@gmx.net  2003-12-23 21:41 -------
+the reason for this is in const.cs on line 197 which is:
+in_transit = false;
+in_transit is private bool (no property) so its normally not possible 
+for it to cause a null ref exception... (and no, the line number is 
+not incorrect, because it works with that line commented out)