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: b6cd6cd13ad665912f00859185d8a7db6f066cb9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// CS0453: The type `X' must be a 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 ()
	{ }
}