Replace SIZEOF_REGISTER with sizeof(mgreg_t) for consistency with sizeof(gpointer)
[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
2 // Line: 8
3
4 class X
5 {
6         public static T CreateMethod<T> ()
7         {
8                 return (T)null;
9         }
10 }