2010-05-25 Jb Evain <jbevain@novell.com>
[mcs.git] / errors / cs1656-2.cs
blob5bf39e862c339891082e94942904a97092790390
1 // cs1656-2.cs: 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;