Merge pull request #1525 from akoeplinger/fix-dynamicdata-test
[mono-project.git] / mcs / errors / cs0214-2.cs
blob89ad0a501e6146e5c24472f6adb8106c22283832
1 // CS0214: 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) { }