a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
18 lines
259 B
C#
18 lines
259 B
C#
// CS0023: The `.' operator cannot be applied to operand of type `int*'
|
|
// Line: 8
|
|
// Compiler options: -unsafe
|
|
|
|
class C
|
|
{
|
|
static unsafe int* Foo ()
|
|
{
|
|
return (int*)0;
|
|
}
|
|
|
|
public static void Main ()
|
|
{
|
|
unsafe {
|
|
string s = Foo().ToString ();
|
|
}
|
|
}
|
|
} |