Fix all CreateInstance overloads for void
[mcs.git] / errors / cs0214-2.cs
blob22c81e95bd275b2f94a738b1b561a00330cd7931
1 // cs0214-2.cs: Pointers and fixed size buffers may only be used in an unsafe context
2 // Line: 9
3 // Compiler options: -unsafe
5 public class Test
7 public void Foo ()
9 Foo (null);
12 public static unsafe void Foo (int* buf) { }