2007-03-28 Chris Toshok <toshok@ximian.com>
[mono-project.git] / mcs / errors / cs0420-2.cs
blob14b3af092b3b5213167441bf335e3775a6010e39
1 // cs0420-2.cs: `XX.j': A volatile fields cannot be passed using a ref or out parameter
2 // Line: 14
3 // Compiler options: -unsafe /warnaserror /warn:1
5 unsafe class XX {
6 static volatile int j;
8 static void X (ref int a)
12 static void Main ()
14 X (ref j);