Merge pull request #5675 from mono/glib-debug-symbols
[mono.git] / mcs / tests / test-null-operator-15.cs
1 using System.Linq;
2 using System.Collections.Generic;
3
4 class MM
5 {
6         public IEnumerable<int> myEnumerable { get; set; }
7 }
8
9 class Test
10 {
11         public static void Main ()
12         {
13                 MM myobject = null;
14                 (myobject?.myEnumerable?.Any ()).GetValueOrDefault (false);      
15         }
16 }