TaskAwaiter from CoreFX
[mono-project.git] / mcs / errors / cs1061-15.cs
blob489488192a5136ed6c0e20320e4e50f8c695eb8d
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
4 class C
6 static void Main ()
8 int? i = 4;
9 var m = i?.GetValueOrDefault ();