Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Other Discussions
  3. Clever Code
  4. Unexpected serialized object.

Unexpected serialized object.

Scheduled Pinned Locked Moved Clever Code
helpcsharpjson
2 Posts 2 Posters 3 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • W Offline
    W Offline
    wout de zeeuw
    wrote on last edited by
    #1

    Wew, spent an hour and a half looking for why this particular frigging class needed to be serializable according to the .NET serialization framework. Unfortunately the SerializationException did not mention what the referencing culprit is, and "Find all references" didn't help me any further. And then finally it dawned on me, it must be an event subscription pointing to the object!!! Aaaaah!!! Haven't tested making the events unserializable, but I'm positive that's the problem! :)

    Wout

    P 1 Reply Last reply
    0
    • W wout de zeeuw

      Wew, spent an hour and a half looking for why this particular frigging class needed to be serializable according to the .NET serialization framework. Unfortunately the SerializationException did not mention what the referencing culprit is, and "Find all references" didn't help me any further. And then finally it dawned on me, it must be an event subscription pointing to the object!!! Aaaaah!!! Haven't tested making the events unserializable, but I'm positive that's the problem! :)

      Wout

      P Offline
      P Offline
      Pete OHanlon
      wrote on last edited by
      #2

      Have you fixed and tested this. The forum guidelines state that this is for bugs that you've found and fixed.

      Deja View - the feeling that you've seen this post before.

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups