Merge pull request #5714 from alexischr/update_bockbuild
[mono.git] / mcs / tests / gtest-286.cs
index aa1b1a2779472ea4b85358a21a85d90de8626861..5f47cf4603b6ab45d4eb840cec46cc6413027b7f 100644 (file)
@@ -1,34 +1,34 @@
-using System;\r
-using System.Reflection;\r
-\r
-public class TestAttribute : Attribute\r
-{\r
-    public Type type;\r
-\r
-    public TestAttribute(Type type)\r
-    {\r
-        this.type = type;\r
-    }\r
-}\r
-\r
-class C<T>\r
-{\r
-    [Test(typeof(C<string>))]\r
-    public static void Foo()\r
-    {\r
-    }\r
-}\r
-\r
-public class C\r
-{\r
-       public static int Main ()\r
-       {\r
-               MethodInfo mi = typeof (C<>).GetMethod ("Foo");\r
-               object[] a = mi.GetCustomAttributes (false);\r
-               if (((TestAttribute)a[0]).type.ToString() != "C`1[System.String]")\r
-                       return 1;\r
-\r
-               Console.WriteLine("OK");\r
-               return 0;\r
-       }\r
+using System;
+using System.Reflection;
+
+public class TestAttribute : Attribute
+{
+    public Type type;
+
+    public TestAttribute(Type type)
+    {
+        this.type = type;
+    }
+}
+
+class C<T>
+{
+    [Test(typeof(C<string>))]
+    public static void Foo()
+    {
+    }
+}
+
+public class C
+{
+       public static int Main ()
+       {
+               MethodInfo mi = typeof (C<>).GetMethod ("Foo");
+               object[] a = mi.GetCustomAttributes (false);
+               if (((TestAttribute)a[0]).type.ToString() != "C`1[System.String]")
+                       return 1;
+
+               Console.WriteLine("OK");
+               return 0;
+       }
 }
\ No newline at end of file