2006-06-05 Jonathan Chambers <jonathan.chambers@ansys.com>
[mcs.git] / errors / cs0420.cs
blob1db316032084e3dd3f0a2be23ab1079757ab9dd2
1 // cs0420.cs: `X.j': A volatile fields cannot be passed using a ref or out parameter
2 // Line: 10
3 // Compiler options: -unsafe /warnaserror /warn:1
5 unsafe class X {
6 static volatile int j;
8 static void Main ()
10 fixed (int *p = &j){