[Mono-bugs] Mono.CSharp.PendingImplementation:ParentImplements

Dietmar Maurer dietmar@ximian.com
14 Nov 2002 08:38:46 +0100

Hi Roland,

either your program or our CASTCLASS implementation is wrong ;-) Maybe
it is possible for you to track down the bug a bit more. What is the
source code raising the exception and what types are involved in the
cast? Maybe you can even create/extract a small test case to reproduce
the bug.

- Dietmar

On Wed, 2002-11-13 at 23:42, Roland Wunderling wrote:

Has anyone else run into this exception when compiling a medium-size

Unhandled Exception: System.InvalidCastException: Cannot cast from
source type to destination type
in <0x0015c> 00 Mono.CSharp.PendingImplementation:ParentImplements
in <0x00196> 00 Mono.CSharp.PendingImplementation:VerifyPendingMethods
in <0x00834> 00 Mono.CSharp.TypeContainer:Emit ()
in <0x004da> 00 Mono.CSharp.RootContext:EmitCode ()
in <0x00732> 00 Mono.CSharp.Driver:MainDriver (string[])
in <0x0000b> 00 Mono.CSharp.Driver:Main (string[])

I have some 30000 lines of code spread over 50 source files.

If someone knows anything about this problem and how to avoid it, please
let me know.


mono-bugs maillist  -  mono-bugs@ximian.com