Remove debugging code from generated code
[mono-project.git] / mcs / errors / cs0266-2.cs
blobb13d24a6e3b8244993caa336b28b7d044aaabfe5
1 // cs0266.cs: Cannot implicitly convert type `Helper*' to `Obsolete*'. An explicit conversion exists (are you missing a cast?)
2 // Line: 18
3 // Compiler options: -unsafe
5 class Box {
6 public Helper o;
9 unsafe struct Obsolete {
12 unsafe struct Helper {}
14 class MainClass {
15 unsafe public static void Main ()
17 Box b = new Box ();
18 fixed (Obsolete* p = &b.o)