Updated with review feedback.
[mono.git] / mcs / errors / cs8084-2.cs
1 // CS8084: An argument to nameof operator cannot be method group with type arguments
2 // Line: 12
3
4 static class C
5 {
6         static void Foo<T> ()
7         {
8         }
9
10         static void Main ()
11         {
12                 string s = nameof (C.Foo<int>);
13         }
14 }