fix run-test
[mcs.git] / errors / cs0254.cs
blob1f09a5503211e7a916a7d70c1a71288eea891f5c
1 // cs0254.cs: The right hand side of a fixed statement assignment may not be a cast expression
2 // Line: 16
3 // Compiler options: -unsafe
5 class Box {
6 public int value;
9 unsafe struct Obsolete {
12 class MainClass {
13 unsafe public static void Main ()
15 Box b = new Box ();
16 fixed (long* p = (long*)&b.value)