Merge pull request #2314 from lambdageek/dev/local-handles
[mono-project.git] / mcs / errors / cs0420.cs
blob764cb41ec7cba8c31a70c5927a4d515629909b50
1 // CS0420: `X.j': A volatile field references will not be treated as volatile
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){