Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gcs0451.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: da3301b0eca5975d6b3aa513a7d4118f70f432da (plain)
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 ()
	{
	}
}