Merge pull request #5675 from mono/glib-debug-symbols
[mono.git] / mcs / errors / cs1061-15.cs
1 // CS1061: Type `int' does not contain a definition for `GetValueOrDefault' and no extension method `GetValueOrDefault' of type `int' could be found. Are you missing `System.Collections.Generic' using directive?
2 // Line: 9
3
4 class C
5 {
6         static void Main ()
7         {
8                 int? i = 4;
9                 var m = i?.GetValueOrDefault ();
10         }
11 }