blob: 89ad0a501e6146e5c24472f6adb8106c22283832 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
// CS0214: Pointers and fixed size buffers may only be used in an unsafe context
// Line: 9
// Compiler options: -unsafe
public class Test
{
public void Foo ()
{
Foo (null);
}
public static unsafe void Foo (int* buf) { }
}
|