[sgen] Don't trigger collections during allocation of thread objects (#17970)
[mono-project.git] / mcs / errors / cs0023-21.cs
blob98f0c068f30760c6ec593bc907f5029f67f1f8fb
1 // CS0023: The `?' operator cannot be applied to operand of type `int*'
2 // Line: 10
3 // Compiler options: -unsafe
5 class C
7 unsafe static void Main ()
9 int* arr = null;
10 var v2 = arr?.ToString ();