StackOverflowException with LinkedList
DenisPimenov opened this issue · 2 comments
DenisPimenov commented
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
DenisPimenov commented
Possibly nuget package is outdate