Merge pull request #3997 from lateralusX/jlorenss/win-api-family-support-safearray
[mono.git] / mcs / errors / cs0023-21.cs
1 // CS0023: The `?' operator cannot be applied to operand of type `int*'
2 // Line: 10
3 // Compiler options: -unsafe
4
5 class C
6 {
7         unsafe static void Main ()
8         {
9                 int* arr = null;
10                 var v2 = arr?.ToString ();
11         }
12 }