2010-06-21 Atsushi Enomoto <atsushi@ximian.com>
[mcs.git] / errors / gcs1720-2.cs
blobf63acd04f0c4645fe1eeea58a463a12b23e15c30
1 // CS1720: Expression will always cause a `System.NullReferenceException'
2 // Line: 9
3 // Compiler options: -warnaserror -warn:1
5 public class Tester
7 public static void GenericClass<T>(T t) where T : class
9 string s = default(T).ToString();