2010-06-21 Atsushi Enomoto <atsushi@ximian.com>
[mcs.git] / errors / gcs0403-2.cs
blob984bf828da8a08432a9550b514c9903cbdffd698
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
4 struct S
6 public void Foo<T> () where T : struct
8 T t = null;
11 static void Main ()
12 { }