8b9b85e7f5
Former-commit-id: 172c8e3c300b39d5785c7a3e8dfb08ebdbc1a99b
19 lines
209 B
C#
19 lines
209 B
C#
// CS8071: Type arguments are not allowed in the nameof operator
|
|
// Line: 16
|
|
|
|
class G<T>
|
|
{
|
|
class N
|
|
{
|
|
public int Foo;
|
|
}
|
|
}
|
|
|
|
class Test
|
|
{
|
|
public static void Main ()
|
|
{
|
|
var n = nameof (G<int>.N.Foo);
|
|
}
|
|
}
|