[Mono-bugs] [Bug 82705][Nor] New - [GMCS] gmcs fails to find implementations of generic methods defined in interfaces

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Wed Sep 5 10:10:34 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 mono at evain.net.

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

--- shadow/82705	2007-09-05 10:10:34.000000000 -0400
+++ shadow/82705.tmp.18997	2007-09-05 10:10:34.000000000 -0400
@@ -0,0 +1,59 @@
+Bug#: 82705
+Product: Mono: Compilers
+Version: 1.2
+OS: All
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: Unknown
+Priority: Normal
+Component: C#
+AssignedTo: marek.safar at seznam.cz                            
+ReportedBy: mono at evain.net               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Summary: [GMCS] gmcs fails to find implementations of generic methods defined in interfaces
+
+Repro:
+
+namespace Db4objects.Db4o {
+
+	public interface IObjectContainer
+	{
+		System.Collections.IList Query ();
+		System.Collections.Generic.IList<Extent> Query<Extent> ();
+	}
+}
+
+namespace Db4objects.Db4o.Internal {
+
+	public abstract class ObjectContainerBase
+	{
+		public System.Collections.IList Query ()
+		{
+			return null;
+		}
+
+		public System.Collections.Generic.IList<Extent> Query<Extent> ()
+		{
+			return null;
+		}
+	}
+
+	public abstract class ExternalObjectContainer : ObjectContainerBase,
+IObjectContainer
+	{
+	}
+}
+
+Steps to reproduce the problem:
+1. 
+2. 
+3. 
+
+Actual Results:
+Compile error:
+ExternalObjectContainer doesn't implement Query<Extent>
+
+Expected Results:


More information about the mono-bugs mailing list