**** Merged from MCS ****
[mono-project.git] / mcs / errors / cs0214-2.cs
blobc175e61967b7c287ab555079610dd6ba4b3a3920
1 // cs0214: pointers can only be used in an unsafe context
2 // Line: 9
3 // This error shows how cs214 is produced at the *call site*
4 //
5 public class Test
7 public void Foo ()
9 Foo (null);
12 public static unsafe void Foo (int* buf) { }