提交 36aaa01a 编写于 作者: C CyrusNajmabadi

Fields can't be immutable.

上级 ed496edb
......@@ -49,7 +49,7 @@ internal sealed partial class ObjectReader : IDisposable
/// that means that <see cref="ObjectBinder"/> is both static and locked. This gives us
/// local copy we can work with without needing to worry about anyone else mutating.
/// </summary>
private readonly ObjectBinderState _binderState;
private ObjectBinderState _binderState;
private int _recursionDepth;
......
......@@ -42,7 +42,7 @@ internal sealed partial class ObjectWriter : IDisposable
/// that means that <see cref="ObjectBinder"/> is both static and locked. This gives us
/// local copy we can work with without needing to worry about anyone else mutating.
/// </summary>
private readonly ObjectBinderState _binderState;
private ObjectBinderState _binderState;
private int _recursionDepth;
internal const int MaxRecursionDepth = 50;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册