Merge pull request #980 from StephenMcConnel/bug-18638
[mono.git] / mcs / tests / test-named-09.cs
1 using System.Collections.Generic;
2
3 class X
4 {
5         public static int Main ()
6         {
7                 switch (nameof (Dictionary<int,int>.Add)) {
8                         case nameof (List<int>.Equals):
9                                 return 1;
10                         case nameof(List<int>.Add):
11                                 return 0;
12                         default:
13                                 return 2;
14                 }               
15         }
16 }