[Mono-bugs] [Bug 81259][Maj] Changed - Problem with "internal" access modifier.

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Wed Apr 11 14:15:02 EDT 2007


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by martin at ximian.com.

http://bugzilla.ximian.com/show_bug.cgi?id=81259

--- shadow/81259	2007-03-30 14:33:29.000000000 -0500
+++ shadow/81259.tmp.5197	2007-04-11 14:15:02.000000000 -0400
@@ -64,6 +64,34 @@
 
 ------- Additional Comments From gert.driesen at pandora.be  2007-03-30 14:33 -------
 I've attached a slightly smaller repro (based on the repro Patrick) 
 that does not require NAnt or NUnit.
 
 Just extract it and run make.
+
+------- Additional Comments From martin at ximian.com  2007-04-11 14:15 -------
+using System;
+
+public class Foo<T>
+{
+        public void Map<S> (S value)
+        {
+                Foo<S> result = new Foo<S> ();
+                result.Test (value);
+        }
+
+        protected virtual void Test (T value)
+        {
+                Console.WriteLine (value);
+        }
+
+}
+
+class X
+{
+        static void Main ()
+        {
+                Foo<double> a = new Foo<double> ();
+                a.Map<string> ("Hello World");
+        }
+}
+


More information about the mono-bugs mailing list