blob: 208b5b3b904a24cc18149e46e3d3bb2a4ba28af6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
// cs0214: pointers can 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) { }
}
|