1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
// Compiler options: -r:gtest-556-lib.dll using System; class A2 { public class N<T> { public static N<T> Method () { return default (N<T>); } } } class Test { public static int Main () { A2.N<short> b1 = A2.N<short>.Method (); A.N<byte> b2 = A.N<byte>.Method (); return 0; } }