a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
16 lines
275 B
C#
16 lines
275 B
C#
// 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) { }
|
|
}
|
|
|
|
|