2009-11-20 Marek Safar <marek.safar@gmail.com>
[mcs.git] / errors / gcs0453-3.cs
blobd5eda52b21fa1cb19e8064a9bb6a15ba2c198cab
1 // CS0453: The type `Bar?' must be a non-nullable value type in order to use it as type parameter `T' in the generic type or method `Foo<T>'
2 // Line: 14
3 public class Foo<T>
4 where T : struct
5 { }
7 public struct Bar
8 { }
10 class X
12 static void Main ()
14 Foo<Bar?> foo;