Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'mcs/tests/test-named-09.cs')
-rw-r--r--mcs/tests/test-named-09.cs16
1 files changed, 16 insertions, 0 deletions
diff --git a/mcs/tests/test-named-09.cs b/mcs/tests/test-named-09.cs
new file mode 100644
index 00000000000..a44dca3a154
--- /dev/null
+++ b/mcs/tests/test-named-09.cs
@@ -0,0 +1,16 @@
+using System.Collections.Generic;
+
+class X
+{
+ public static int Main ()
+ {
+ switch (nameof (Dictionary<int,int>.Add)) {
+ case nameof (List<int>.Equals):
+ return 1;
+ case nameof(List<int>.Add):
+ return 0;
+ default:
+ return 2;
+ }
+ }
+} \ No newline at end of file