[Mono-list] compiling source code - strange exception

Tomek Soroka tomek_dnet@possible.pl
Thu, 12 Aug 2004 07:13:05 +0200


Hi!

I'm trying to compile a piece of code, and I'm getting such exception...

Unhandled Exception: System.InvalidCastException: Cannot cast from 
source type to destination type.
in <0x00073> Mono.CSharp.StringConcat:Emit (Mono.CSharp.EmitContext)
in <0x00135> Mono.CSharp.FieldExpr:EmitAssign 
(Mono.CSharp.EmitContext,Mono.CSharp.Expression)
in <0x002aa> Mono.CSharp.Assign:Emit (Mono.CSharp.EmitContext,bool)
in <0x00016> Mono.CSharp.Assign:EmitStatement (Mono.CSharp.EmitContext)
in <0x001de> Mono.CSharp.TypeContainer:EmitFieldInitializers 
(Mono.CSharp.EmitContext)
in <0x00388> Mono.CSharp.Constructor:Emit (Mono.CSharp.TypeContainer)
in <0x00427> Mono.CSharp.TypeContainer:Emit ()
in <0x00896> Mono.CSharp.RootContext:EmitCode ()
in <0x00c35> Mono.CSharp.Driver:MainDriver (string[])
in <0x00012> Mono.CSharp.Driver:Main (string[])

make: *** [bin/PossiblePortal.dll] Błąd 1

How Can I try to get know what's going on... where is this exception etc...?

Best!
Tomek