summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0023-21.cs
blob: 98f0c068f30760c6ec593bc907f5029f67f1f8fb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// CS0023: The `?' operator cannot be applied to operand of type `int*'
// Line: 10
// Compiler options: -unsafe

class C
{
	unsafe static void Main ()
	{
		int* arr = null;
		var v2 = arr?.ToString ();
	}
}