[Mono-bugs] [Bug 327197] New: inheritance of generics function from other class isn' t counted as interface implementation
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Fri Sep 21 12:10:45 EDT 2007
https://bugzilla.novell.com/show_bug.cgi?id=327197
Summary: inheritance of generics function from other class isn't
counted as interface implementation
Product: Mono: Compilers
Version: 1.2
Platform: All
OS/Version: All
Status: NEW
Severity: Normal
Priority: P5 - None
Component: C#
AssignedTo: rharinath at novell.com
ReportedBy: jan.oravec at 6com.sk
QAContact: mono-bugs at ximian.com
Found By: Third Party Developer/Partner
Compiling this code:
interface I
{
void Foo<T> (T foo);
}
class C1
{
public void Foo<T> (T foo)
{
}
}
class C2 : C1, I
{
}
Returns this error:
qqq.cs(13,7): error CS0535: `C2' does not implement interface member
`I.Foo<T>(T)'
qqq.cs(3,8): (Location of the symbol related to previous error)
Compilation failed: 1 error(s), 0 warnings
Changing "T foo" to "int foo" in both locations yields in compilable code.
Simmilar pattern is used in db4o 6.4 and this bug prevents its compilation with
Mono.
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
More information about the mono-bugs
mailing list