[Mono-bugs] [Bug 82038][Nor] Changed - CS0420 reported when executing method on volatile integral type

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Thu Jul 12 19:55:35 EDT 2007


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

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

--- shadow/82038	2007-07-08 02:51:21.000000000 -0400
+++ shadow/82038.tmp.16403	2007-07-12 19:55:35.000000000 -0400
@@ -1,14 +1,14 @@
 Bug#: 82038
 Product: Mono: Compilers
 Version: 1.2
 OS: All
 OS Details: 
-Status: NEW   
-Resolution: 
-Severity: 
+Status: RESOLVED   
+Resolution: FIXED
+Severity: Unknown
 Priority: Normal
 Component: C#
 AssignedTo: rharinath at novell.com                            
 ReportedBy: gert.driesen at pandora.be               
 QAContact: mono-bugs at ximian.com
 TargetMilestone: ---
@@ -36,6 +36,14 @@
 Successful compilation.
 
 Actual result:
 
 test.cs(7,17): error CS0420: `Program.x': A volatile fields cannot be 
 passed using a ref or out parameter
+
+------- Additional Comments From miguel at ximian.com  2007-07-12 19:55 -------
+We report it as an error, and the Microsoft documentation claims that
+this error should be reported.
+
+Am not sure why CSC does not report it, but it is a valid warning.
+
+I have changed the code to actually work, but still report the warning.


More information about the mono-bugs mailing list