Remove useless ip += from MINT_JMP, it is assigned later. (#19217)
[mono-project.git] / mcs / errors / cs8093.cs
blobf70ea7bbcb230788de563972c96d5bb4e890a22f
1 // CS8093: An argument to nameof operator cannot be extension method group
2 // Line: 35
4 using System;
6 public class A
10 namespace N1
12 public static class X
14 public static string Extension (this A a, long x)
16 return null;
19 public static string Extension (this A a, int x)
21 return null;
26 namespace N2
28 using N1;
30 public class Program
32 public static int Main ()
34 A a = null;
35 const string n = nameof (a.Extension);
36 if (n != "Extension")
37 return 1;
39 return 0;