Merge pull request #1821 from iainx/replace-getline
[mono-project.git] / mcs / errors / cs8093-2.cs
blob40597024143e5c6b6d1e63e617b901a97d63185b
1 // CS8093: An argument to nameof operator cannot be extension method group
2 // Line: 21
4 public class A
8 static class X
10 public static string Extension (this int a)
12 return null;
16 public static class Test
18 public static void Main ()
20 A a = null;
21 var x = nameof (a.Extension);