a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
10 lines
162 B
C#
10 lines
162 B
C#
// CS0451: The `new()' constraint cannot be used with the `struct' constraint
|
|
// Line: 6
|
|
|
|
class C
|
|
{
|
|
public static void Foo<T>() where T : struct, new ()
|
|
{
|
|
}
|
|
}
|