Welcome to mirror list, hosted at ThFree Co, Russian Federation.
1 2 3 4 5 6 7 8 9
// CS0451: The `new()' constraint cannot be used with the `struct' constraint // Line: 8 class C { public static void Foo<T>() where T : struct, new () { } }