Merge pull request #5693 from lateralusX/lateralusX/disable-stack-overflow-win-x64
[mono.git] / mcs / errors / cs0023-26.cs
1 // CS0023: The `?' operator cannot be applied to operand of type `method group'
2 // Line: 14
3
4 class X
5 {
6         void Test ()
7         {
8         }
9
10         public static void Main ()
11         {
12                 X x = null;
13                 System.Action n = x?.Test;
14         }
15 }