Kittyfisto / SharpRemote

A .NET remoting library
MIT License
12 stars 5 forks source link

Serializing a cyclic graph causes a Stackoverflow #39

Open Kittyfisto opened 6 years ago

Kittyfisto commented 6 years ago

Until the serializers add proper support for cyclic graphs, an ArgumentException (including a helpful error message) should be thrown if a cycle in a graph is detected upon serialization. This way a user can easily figure out what's wrong.