Astn/JSON-RPC.NET

StackOverflowException with LinkedList

DenisPimenov opened this issue · 2 comments

I have simple data class.

public class Test
{
    private Question currentQuestion;
    public event Action<Question> OnNext;
    public event Action OnFinished;
    public LinkedList<Question> Questions { get; }
}

When i create my service with method

[JsonRpcMethod]
        public Test GetTest(int questionsCount)
        {
            ....
        }

VS lock and after some times throw StackOverflowException
If i change Questions type to List<> exception not throw

Astn commented

Possibly fixed with b9f435a
Can you test?

Possibly nuget package is outdate