[MonoDevelop] Clipboard don't omit not serializable object like MS

Petit Eric surfzoid at gmail.com
Fri Dec 11 18:11:00 EST 2009


Type MonoOSC.Forms.RepoManager+RepoString is not marked as Serializable.
  at System.Runtime.Serialization.Formatters.Binary.BinaryCommon.CheckSerializable
(System.Type type, ISurrogateSelector selector, StreamingContext
context) [0x0002c] in
/home/eric/monoSVN/mcs/class/corlib/System.Runtime.Serialization.Formatters.Binary/BinaryCommon.cs:119
  at System.Runtime.Serialization.Formatters.Binary.ObjectWriter.GetObjectData
(System.Object obj,
System.Runtime.Serialization.Formatters.Binary.TypeMetadata& metadata,
System.Object& data) [0x00054] in
/home/eric/monoSVN/mcs/class/corlib/System.Runtime.Serialization.Formatters.Binary/ObjectWriter.cs:380
  at System.Runtime.Serialization.Formatters.Binary.ObjectWriter.WriteObject
(System.IO.BinaryWriter writer, Int64 id, System.Object obj) [0x00000]
in /home/eric/monoSVN/mcs/class/corlib/System.Runtime.Serialization.Formatters.Binary/ObjectWriter.cs:300
  at System.Runtime.Serialization.Formatters.Binary.ObjectWriter.WriteObjectInstance
(System.IO.BinaryWriter writer, System.Object obj, Boolean
isValueObject) [0x00062] in
/home/eric/monoSVN/mcs/class/corlib/System.Runtime.Serialization.Formatters.Binary/ObjectWriter.cs:287
  at System.Runtime.Serialization.Formatters.Binary.ObjectWriter.WriteQueuedObjects
(System.IO.BinaryWriter writer) [0x00005] in
/home/eric/monoSVN/mcs/class/corlib/System.Runtime.Serialization.Formatters.Binary/ObjectWriter.cs:265
  at System.Runtime.Serialization.Formatters.Binary.ObjectWriter.WriteObjectGraph
(System.IO.BinaryWriter writer, System.Object obj,
System.Runtime.Remoting.Messaging.Header[] headers) [0x0001f] in
/home/eric/monoSVN/mcs/class/corlib/System.Runtime.Serialization.Formatters.Binary/ObjectWriter.cs:252
  at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Serialize
(System.IO.Stream serializationStream, System.Object graph,
System.Runtime.Remoting.Messaging.Header[] headers) [0x000a4] in
/home/eric/monoSVN/mcs/class/corlib/System.Runtime.Serialization.Formatters.Binary/BinaryFormatter.cs:216
  at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Serialize
(System.IO.Stream serializationStream, System.Object graph) [0x00000]
in /home/eric/monoSVN/mcs/class/corlib/System.Runtime.Serialization.Formatters.Binary/BinaryFormatter.cs:195
  at System.Windows.Forms.XplatUIX11.UpdateMessageQueue
(System.Windows.Forms.XEventQueue queue) [0x007ab] in
/home/eric/monoSVN/mcs/class/Managed.Windows.Forms/System.Windows.Forms/XplatUIX11.cs:1800
  at System.Windows.Forms.XplatUIX11.ClipboardAvailableFormats (IntPtr
handle) [0x0007a] in
/home/eric/monoSVN/mcs/class/Managed.Windows.Forms/System.Windows.Forms/XplatUIX11.cs:2633
  at System.Windows.Forms.XplatUI.ClipboardAvailableFormats (IntPtr
handle) [0x00000] in
/home/eric/monoSVN/mcs/class/Managed.Windows.Forms/System.Windows.Forms/XplatUI.cs:526
  at System.Windows.Forms.Clipboard.ClipboardContainsFormat
(System.String[] formats) [0x00000] in <filename unknown>:0
  at System.Windows.Forms.Clipboard.ContainsData (System.String
format) [0x00000] in
/home/eric/monoSVN/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Clipboard.cs:80
  at MonoOSC.Forms.RepoManager.pasteToolStripMenuItem_Click
(System.Object sender, System.EventArgs e) [0x0000b] in
/home/eric/Projects/MonoOSC/MonoOSC/Forms/RepoManager.cs:611
Type MonoOSC.Forms.RepoManager+RepoString is not marked as Serializable.

-- 
 Cordially.

 Small Eric Quotations of the days:
 ---------------------------------------------------------------------------
 I have no special talents. I am only passionately curious


More information about the Monodevelop-list mailing list