2010-06-03 Jb Evain <jbevain@novell.com>
[mcs.git] / errors / gcs0453.cs
blob016d95ec97c324db8b0a87ffd5b6f6dd9ca0e564
1 // 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>'
2 // Line: 10
3 public class MyValue<T>
4 where T : struct
5 { }
7 class X
9 MyValue<X> x;
11 static void Main ()
12 { }