Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Safar <marek.safar@gmail.com>2008-12-19 18:02:59 +0300
committerMarek Safar <marek.safar@gmail.com>2008-12-19 18:02:59 +0300
commita57ea8054f9aa8d23cc011720f32a36321d97b0c (patch)
treeeb94a4bc1301aa2f499310c4790b591028d22742 /mcs/tests/gtest-286.cs
parent3c666ed0337fc5bbbbb5ec6322826573d5509297 (diff)
Set svn:eol-style
svn path=/trunk/mcs/; revision=121849
Diffstat (limited to 'mcs/tests/gtest-286.cs')
-rw-r--r--mcs/tests/gtest-286.cs66
1 files changed, 33 insertions, 33 deletions
diff --git a/mcs/tests/gtest-286.cs b/mcs/tests/gtest-286.cs
index aa1b1a27794..5f47cf4603b 100644
--- a/mcs/tests/gtest-286.cs
+++ b/mcs/tests/gtest-286.cs
@@ -1,34 +1,34 @@
-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;
- }
+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