blob: df36fee941e48aecb9fab183c4635634ff5fd4ec (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
// CS0193: The * or -> operator must be applied to a pointer
// Line: 10
// Compiler options: -unsafe
class C
{
unsafe static void Foo (object o)
{
bool x = false;
if (o is bool ? *x : null) {
}
}
}
|