[Mono-devel-list] mcs bug: indirectly implemented interfaces

Jeroen Frijters jeroen at sumatra.nl
Sun Sep 12 05:26:14 EDT 2004


Hi,

mcs doesn't properly handle interfaces that indirectly implement other
interfaces.

ilasm /dll bug.il
mcs test.cs -reference:bug.dll

Compilation fails. When you add a (unnecessary) cast it fails at runtime
because C.methodA doesn't have a methodimpl for IA.A (or alternatively,
because C doesn't list IA as an implemented interface).

Regards,
Jeroen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.cs
Type: application/octet-stream
Size: 249 bytes
Desc: test.cs
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20040912/02067525/attachment.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bug.il
Type: application/octet-stream
Size: 498 bytes
Desc: bug.il
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20040912/02067525/attachment-0001.obj 


More information about the Mono-devel-list mailing list