Merge pull request #5675 from mono/glib-debug-symbols
[mono.git] / mcs / errors / cs0453-6.cs
1 // CS0453: The type `string' must be a non-nullable value type in order to use it as type parameter `T' in the generic type or method `C<T>'
2 // Line: 10
3
4 public class C<T> where T : struct
5 {
6 }
7
8 class A
9 {
10         public C<string> Foo ()
11         {
12         }
13 }
14