[Mono-bugs] [Bug 60228][Nor] New - SynchronizationAttribute cannot be serialized

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Tue, 15 Jun 2004 16:07:48 -0400 (EDT)


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by gert.driesen@pandora.be.

http://bugzilla.ximian.com/show_bug.cgi?id=60228

--- shadow/60228	2004-06-15 16:07:48.000000000 -0400
+++ shadow/60228.tmp.25916	2004-06-15 16:07:48.000000000 -0400
@@ -0,0 +1,53 @@
+Bug#: 60228
+Product: Mono: Class Libraries
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: CORLIB
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: gert.driesen@pandora.be               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: SynchronizationAttribute cannot be serialized
+
+The System.Runtime.Remoting.Contexts.SynchronizationAttribute class 
+cannot be serialized :
+
+Unhandled Exception: System.Runtime.Serialization.SerializationException: 
+Type S
+ystem.Threading.Mutex is not marked as Serializable and does not 
+implement ISeri
+alizable.
+in <0x0014e> 
+System.Runtime.Serialization.Formatters.Binary.ObjectWriter:GetObje
+ctData 
+(object,System.Runtime.Serialization.Formatters.Binary.TypeMetadata&,obje
+ct&)
+in <0x00020> 
+System.Runtime.Serialization.Formatters.Binary.ObjectWriter:WriteOb
+ject (System.IO.BinaryWriter,long,object)
+in <0x00117> 
+System.Runtime.Serialization.Formatters.Binary.ObjectWriter:WriteOb
+jectInstance (System.IO.BinaryWriter,object,bool)
+in <0x00033> 
+System.Runtime.Serialization.Formatters.Binary.ObjectWriter:WriteQu
+euedObjects (System.IO.BinaryWriter)
+in <0x00031> 
+System.Runtime.Serialization.Formatters.Binary.ObjectWriter:WriteOb
+jectGraph 
+(System.IO.BinaryWriter,object,System.Runtime.Remoting.Messaging.Heade
+r[])
+in <0x00240> 
+System.Runtime.Serialization.Formatters.Binary.BinaryFormatter:Seri
+alize (System.IO.Stream,object,System.Runtime.Remoting.Messaging.Header[])
+in <0x00015> 
+System.Runtime.Serialization.Formatters.Binary.BinaryFormatter:Seri
+alize (System.IO.Stream,object)
+in <0x001f1> SerializeTest.AssemblySerializer:Serialize ()
+in <0x000d3> SerializeTest.EntryPoint:Main (string[])