Replace SIZEOF_REGISTER with sizeof(mgreg_t) for consistency with sizeof(gpointer)
[mono.git] / mcs / errors / gcs1720-2.cs
index bc9a4801c0f3b69b485c50cb9de12dc85127f636..f63acd04f0c4645fe1eeea58a463a12b23e15c30 100644 (file)
@@ -1,11 +1,11 @@
-// CS1720: Expression will always cause a `System.NullReferenceException'\r
-// Line: 9\r
-// Compiler options: -warnaserror -warn:1\r
-\r
-public class Tester \r
-{\r
-    public static void GenericClass<T>(T t) where T : class \r
-    {\r
-        string s = default(T).ToString();\r
-    }\r
+// CS1720: Expression will always cause a `System.NullReferenceException'
+// Line: 9
+// Compiler options: -warnaserror -warn:1
+
+public class Tester 
+{
+    public static void GenericClass<T>(T t) where T : class 
+    {
+        string s = default(T).ToString();
+    }
 }
\ No newline at end of file