[corlib] Add a special method for XI so the linker does not always have to generate it.
[mono-project.git] / mcs / errors / cs1656-2.cs
blobe729d508c64d4f07d322f684d61726307edd5791
1 // CS1656: Cannot assign to `p' because it is a `fixed variable'
2 // Line: 10
3 // Compiler options: -unsafe
5 unsafe class X {
7 static int x = 0;
8 static void Main () {
9 fixed (int* p = &x) {
10 p = (int*)22;