for "build" config, import corlib common sources at unix instead (#11989)
[mono-project.git] / mcs / errors / cs0453-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;