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

gcs0453.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 016d95ec97c324db8b0a87ffd5b6f6dd9ca0e564 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// CS0453: The type `X' must be a non-nullable value type in order to use it as type parameter `T' in the generic type or method `MyValue<T>'
// Line: 10
public class MyValue<T>
	where T : struct
{ }

class X
{
	MyValue<X> x;

	static void Main ()
	{ }
}