2006-03-18 Marek Sieradzki <marek.sieradzki@gmail.com>
[mono.git] / mcs / errors / cs0420.cs
index ad57a184369cc20be6c9b801aff08fd48ee9d5fe..1db316032084e3dd3f0a2be23ab1079757ab9dd2 100644 (file)
@@ -1,6 +1,6 @@
-// cs0420.cs: 'X.j': a reference to a volatile field will not be treated as volatile
+// cs0420.cs: `X.j': A volatile fields cannot be passed using a ref or out parameter
 // Line: 10
-// Compiler options: -unsafe /warnaserror
+// Compiler options: -unsafe /warnaserror /warn:1
 
 unsafe class X {
        static volatile int j;