marek.safar at seznam.cz
Mon Jan 1 05:15:45 EST 2007
Try to compile your sources with the warning level 3 and not 4 that
should fix your issue.
> I am trying to get a project to build and I keep turning up with:
> Unhandled Exception: System.NotSupportedException: The invoked member is not
> ported in a dynamic module.
> at System.Reflection.Emit.TypeBuilder.check_created () [0x00000]
> at System.Reflection.Emit.TypeBuilder.GetConstructorImpl (BindingFlags
> Attr, System.Reflection.Binder binder, CallingConventions callConvention,
> .Type types, System.Reflection.ParameterModifier modifiers) [0x00000]
> at System.Type.GetConstructor (BindingFlags bindingAttr,
> der binder, CallingConventions callConvention, System.Type types,
> ction.ParameterModifier modifiers) [0x00000]
> at System.Activator.CreateInstance (System.Type type, Boolean nonPublic)
> at System.Activator.CreateInstance (System.Type type) [0x00000]
> at Mono.CSharp.TypeContainer.VerifyMembers () [0x00000]
> at Mono.CSharp.ClassOrStruct.VerifyMembers () [0x00000]
> at Mono.CSharp.RootContext.EmitCode () [0x00000]
> at Mono.CSharp.Driver.MainDriver (System.String args) [0x00000]
> at Mono.CSharp.Driver.Main (System.String args) [0x00000]
> I can't figure out what the offending code is or how to fix it. Does anyone
> have a clue? I have the latest version of Mono (and even tried today's
> MonoCharge). I would GREATLY appreciate some help. I've looked at the
> System.Reflection.Emit.TypeBuilder.check_created() source, but that doesn't
> help me a whole lot. Next step is to try and build in some logging into Mono
> to figure out what is going on.
> View this message in context:
> Sent from the Mono - Dev mailing list archive at Nabble.com.
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
More information about the Mono-devel-list