using System;
using System.Collections.Generic;
using SCG = System.Collections.Generic;
-//using SCGL = System.Collections.Generic.List<>;
+using SCGL = System.Collections.Generic.List<string>;
class A<T>
{
if (nameof (Action) != "Action")
return 10;
- if (nameof (List) != "List")
+ if (nameof (List<bool>) != "List")
return 11;
if (nameof (GenMethod) != "GenMethod")
if (nameof (Console.WriteLine) != "WriteLine")
return 3;
- if (nameof (System.Collections.Generic.List) != "List")
+ if (nameof (System.Collections.Generic.List<long>) != "List")
return 4;
if (nameof (System.Collections) != "Collections")
if (nameof (X.GenMethod) != "GenMethod")
return 6;
- if (nameof (A<>.B) != "B")
+ if (nameof (A<char>.B) != "B")
return 7;
- if (nameof (A<>.B.Foo) != "Foo")
+ if (nameof (A<ushort>.B.Foo) != "Foo")
return 7;
return 0;
if (nameof (global::System.Int32) != "Int32")
return 1;
- if (nameof (SCG.List) != "List")
+ if (nameof (SCG.List<short>) != "List")
return 2;
-// if (nameof (SCGL.Contains) != "Contains")
-// return 3;
+ if (nameof (SCGL.Contains) != "Contains")
+ return 3;
return 0;
}