Author: martin
Date: 2007-10-09 13:08:42 -0400 (Tue, 09 Oct 2007)
New Revision: 87200
Added:
branches/martin/debugger-terrania/test/B.cs
Log:
We can print 'foo'.
Added: branches/martin/debugger-terrania/test/B.cs
===================================================================
--- branches/martin/debugger-terrania/test/B.cs 2007-10-09 17:05:27 UTC (rev
87199)
+++ branches/martin/debugger-terrania/test/B.cs 2007-10-09 17:08:42 UTC (rev
87200)
@@ -0,0 +1,27 @@
+using System;
+
+public class Foo<T>
+{
+ public readonly int A;
+ public readonly T Data;
+
+ public Foo (int a, T t)
+ {
+ this.A = a;
+ this.Data = t;
+ }
+
+ public void Hello (T t)
+ {
+ Console.WriteLine (t);
+ }
+}
+
+class X
+{
+ static void Main ()
+ {
+ Foo<long> foo = new Foo<long> (5, 81);
+ foo.Hello (5);
+ }
+}
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches