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

User [EMAIL PROTECTED] added comment
https://bugzilla.novell.com/show_bug.cgi?id=425345#c1


Marek Safar <[EMAIL PROTECTED]> changed:

           What    |Removed                                         |Added
----------------------------------------------------------------------------
                 CC|                                                |[EMAIL 
PROTECTED]
          Component|C#                                              |CORLIB
            Product|Mono: Compilers                                 |Mono: 
Class Libraries
            Summary|Should anonymous delegate be serializable? (when|Delegate 
serialization problem
                   |used for AppDomain.DoCallBack())                |




--- Comment #1 from Marek Safar <[EMAIL PROTECTED]>  2008-09-11 03:11:58 MDT ---
This is what I get on Mono runtime only

Unhandled Exception: System.Reflection.TargetInvocationException: Exception has
been thrown by the target of an invocation.

Server stack trace: 
  at System.Reflection.MonoCMethod.Invoke (System.Object obj, BindingFlags
invokeAttr, System.Reflection.Binder binder, System.Object[] parameters,
System.Globalization.CultureInfo culture) [0x00000] 
  at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[]
parameters) [0x00000] 
  at System.Runtime.Serialization.ObjectRecord.LoadData
(System.Runtime.Serialization.ObjectManager manager, ISurrogateSelector
selector, StreamingContext context) [0x00000] 
  at System.Runtime.Serialization.ObjectManager.DoFixups () [0x00000] 
  at System.Runtime.Serialization.Formatters.Binary.ObjectReader.ReadNextObject
(System.IO.BinaryReader reader) [0x00000] 
  at
System.Runtime.Serialization.Formatters.Binary.ObjectReader.ReadObjectGraph
(System.IO.BinaryReader reader, Boolean readHeaders, System.Object& result,
System.Runtime.Remoting.Messaging.Header[]& headers) [0x00000] 
  at
System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.NoCheckDeserialize
(System.IO.Stream serializationStream,
System.Runtime.Remoting.Messaging.HeaderHandler handler) [0x00000] 
  at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize
(System.IO.Stream serializationStream) [0x00000] 
  at System.Runtime.Remoting.RemotingServices.DeserializeCallData
(System.Byte[] array) [0x00000] 
  at (wrapper xdomain-dispatch) System.AppDomain:DoCallBack
(object,byte[]&,byte[]&)

Exception rethrown at [0]: 
 ---> System.Runtime.Serialization.SerializationException: Serialization will
not deserialize delegates to non-public methods.
  at System.DelegateSerializationHolder+DelegateEntry.DeserializeDelegate
(System.Runtime.Serialization.SerializationInfo info) [0x00000] 
  at System.DelegateSerializationHolder..ctor
(System.Runtime.Serialization.SerializationInfo info, StreamingContext ctx)
[0x00000] 
  at (wrapper managed-to-native) System.Reflection.MonoCMethod:InternalInvoke
(object,object[],System.Exception&)
  at System.Reflection.MonoCMethod.Invoke (System.Object obj, BindingFlags
invokeAttr, System.Reflection.Binder binder, System.Object[] parameters,
System.Globalization.CultureInfo culture) [0x00000] 
  --- End of inner exception stack trace ---
  at (wrapper xdomain-invoke) System.AppDomain:DoCallBack
(System.CrossAppDomainDelegate)
  at (wrapper remoting-invoke-with-check) System.AppDomain:DoCallBack
(System.CrossAppDomainDelegate)
  at MainClass.Main () [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.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to