2009-03-17 Atsushi Enomoto <atsushi@ximian.com>
[mono.git] / mcs / errors / gcs0403-3.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 class X\r
5 {\r
6         public static T CreateMethod<T> ()\r
7         {\r
8                 return (T)null;\r
9         }\r
10 }\r