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-398.cs
parent3c666ed0337fc5bbbbb5ec6322826573d5509297 (diff)
Set svn:eol-style
svn path=/trunk/mcs/; revision=121849
Diffstat (limited to 'mcs/tests/gtest-398.cs')
-rw-r--r--mcs/tests/gtest-398.cs82
1 files changed, 41 insertions, 41 deletions
diff --git a/mcs/tests/gtest-398.cs b/mcs/tests/gtest-398.cs
index 626c5a7fd90..90a45ca38ee 100644
--- a/mcs/tests/gtest-398.cs
+++ b/mcs/tests/gtest-398.cs
@@ -1,41 +1,41 @@
-using System;
-
-
-public interface IFace
-{
- void Tst (IFace b);
-}
-
-public delegate string ToStr (string format, IFormatProvider format_provider);
-
-
-public class GenericClass<T> where T : IFormattable
-{
- T field;
-
- public GenericClass (T t)
- {
- this.field = t;
- }
-
- public void Method ()
- {
- ToStr str = new ToStr (field.ToString);
-
- Console.WriteLine (str ("x", null));
- }
-
- public void Test (T t) { }
-}
-
-
-
-public class Foo
-{
- public static void Main (string [] args)
- {
- GenericClass<int> example = new GenericClass<int> (99);
- example.Method ();
- }
-}
-
+using System;
+
+
+public interface IFace
+{
+ void Tst (IFace b);
+}
+
+public delegate string ToStr (string format, IFormatProvider format_provider);
+
+
+public class GenericClass<T> where T : IFormattable
+{
+ T field;
+
+ public GenericClass (T t)
+ {
+ this.field = t;
+ }
+
+ public void Method ()
+ {
+ ToStr str = new ToStr (field.ToString);
+
+ Console.WriteLine (str ("x", null));
+ }
+
+ public void Test (T t) { }
+}
+
+
+
+public class Foo
+{
+ public static void Main (string [] args)
+ {
+ GenericClass<int> example = new GenericClass<int> (99);
+ example.Method ();
+ }
+}
+