[wasm] Fix WASM CI script. (#6741)
[mono-project.git] / mcs / errors / cs0208-3.cs
blob5932dbe6b8718d42e83b24210a78568117d78c41
1 // CS0208: Cannot take the address of, get the size of, or declare a pointer to a managed type `Foo.P'
2 // Line: 18
3 // Compiler options: -unsafe
5 public unsafe class Foo
7 public class P
9 public P* GetEnumerator ()
11 return null;
15 public static void Main ()
17 P o = new P ();
18 foreach (P p in o)