[Mono-bugs] [Bug 317708] Reflection differences .NET / Mono: GetCustomAttributes dynamic assemblies

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Nov 24 09:42:28 EST 2008


https://bugzilla.novell.com/show_bug.cgi?id=317708

User silver83 at gmail.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=317708#c3





--- Comment #3 from Yoni Shalom <silver83 at gmail.com>  2008-11-24 07:42:27 MST ---
shortened stack trace : 

Unhandled Exception: System.TypeInitializationException: An exception was
 thrown by the type initializer for
 System.Runtime.Serialization.Formatters.Binary.CodeGenerator

 Server stack trace:
   at

System.Runtime.Serialization.Formatters.Binary.ObjectWriter.CreateMemberTypeMetadata
 (System.Type type) [0x00000]
   at
 System.Runtime.Serialization.Formatters.Binary.ObjectWriter.GetObjectData
 (System.Object obj,
 System.Runtime.Serialization.Formatters.Binary.TypeMetadata& metadata,
 System.Object& data) [0x00000]
   at
 System.Runtime.Serialization.Formatters.Binary.ObjectWriter.WriteObject
 (System.IO.BinaryWriter writer, Int64 id, System.Object obj) [0x00000]
   at

System.Runtime.Serialization.Formatters.Binary.ObjectWriter.WriteObjectInstance
 (System.IO.BinaryWriter writer, System.Object obj, Boolean isValueObject)
 [0x00000]
   at
 System.Runtime.Serialization.Formatters.Binary.ObjectWriter.WriteQueuedObjects
 (System.IO.BinaryWriter writer) [0x00000]
   at
 System.Runtime.Serialization.Formatters.Binary.ObjectWriter.WriteObjectGraph
 (System.IO.BinaryWriter writer, System.Object obj,
 System.Runtime.Remoting.Messaging.Header[] headers) [0x00000]
   at

System.Runtime.Serialization.Formatters.Binary.MessageFormatter.WriteMethodCall
 (System.IO.BinaryWriter writer, System.Object obj,
 System.Runtime.Remoting.Messaging.Header[] headers, ISurrogateSelector
 surrogateSelector, StreamingContext context, FormatterAssemblyStyle
 assemblyFormat, FormatterTypeStyle typeFormat) [0x00000]
   at
 System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Serialize
 (System.IO.Stream serializationStream, System.Object graph,
 System.Runtime.Remoting.Messaging.Header[] headers) [0x00000]
   at
 System.Runtime.Remoting.Channels.BinaryClientFormatterSink.SyncProcessMessage
 (IMessage msg) [0x00000]

Exception rethrown at [0]:
  --- System.NotSupportedException: The invoked member is not supported in a
dynamic module.
   at System.Reflection.Emit.AssemblyBuilder.GetExportedTypes () [0x00000]


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list