[Mono-dev] NotSupportedException

boscorillium tim at netsimplex.com
Sun Dec 31 17:52:52 EST 2006


Greetings,

I am trying to get a project to build and I keep turning up with:

Unhandled Exception: System.NotSupportedException: The invoked member is not
sup
ported in a dynamic module.
  at System.Reflection.Emit.TypeBuilder.check_created () [0x00000]
  at System.Reflection.Emit.TypeBuilder.GetConstructorImpl (BindingFlags
binding
Attr, System.Reflection.Binder binder, CallingConventions callConvention,
System
.Type[] types, System.Reflection.ParameterModifier[] modifiers) [0x00000]
  at System.Type.GetConstructor (BindingFlags bindingAttr,
System.Reflection.Bin
der binder, CallingConventions callConvention, System.Type[] types,
System.Refle
ction.ParameterModifier[] modifiers) [0x00000]
  at System.Activator.CreateInstance (System.Type type, Boolean nonPublic)
[0x00
000]
  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.


Thanks,


tim


-- 
View this message in context: http://www.nabble.com/NotSupportedException-tf2902903.html#a8110578
Sent from the Mono - Dev mailing list archive at Nabble.com.




More information about the Mono-devel-list mailing list