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 [EMAIL PROTECTED]

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

--- shadow/82498        2007-08-25 14:31:13.000000000 -0400
+++ shadow/82498.tmp.18888      2007-08-25 14:55:23.000000000 -0400
@@ -144,6 +144,43 @@
 
 ------- Additional Comments From [EMAIL PROTECTED]  2007-08-21 11:24 -------
 The produced assembly does not run on windows either.
 
 ------- Additional Comments From [EMAIL PROTECTED]  2007-08-25 14:31 -------
 The second one seems to work.
+
+------- Additional Comments From [EMAIL PROTECTED]  2007-08-25 14:55 -------
+A reduced test case:
+
+using System;
+
+public abstract  class BusinessBase<TYPE, KEY> where TYPE :
+BusinessBase<TYPE, KEY>, new ()
+{
+    public static void Load(KEY id)
+    {
+      TYPE instance = new TYPE();
+      instance = instance.DataSelect(id);
+    }
+
+    protected abstract TYPE DataSelect(KEY id);
+
+}
+
+public class Page : BusinessBase <Page, Guid> {
+    protected override Page DataSelect (Guid k)
+    {
+        return new Page ();
+    }
+}
+
+class D {
+    static void Main ()
+    {
+        Page.Load (new Guid());
+    }
+}
+
+
+
+This fails with Mono;   I do not have access to our internal network,
+so I can not test if this fails on Windows as well or not. 
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to