[SharpDX] Fix issue #420. Fix  BinarySerializer to support self-recursive serialization