dda9fd93d566cb152c395fb15225f388ba0ecbe6
[mono.git] / mcs / errors / gcs0403-2.cs
1 // CS0403: Cannot convert null to the type parameter `T' because it could be a value type. Consider using `default (T)' instead\r
2 // Line: 8\r
3 \r
4 struct S\r
5 {\r
6         public void Foo<T> () where T : struct\r
7         {\r
8                 T t = null;\r
9         }\r
10 \r
11         static void Main ()\r
12         { }\r
13 }\r