3 writes to _continuationCount
System.Text.Json (3)
System\Text\Json\Serialization\WriteStack.cs (3)
224_continuationCount = 0; 246_continuationCount = 1; 254_continuationCount = _count--;
8 references to _continuationCount
System.Text.Json (8)
System\Text\Json\Serialization\WriteStack.cs (8)
97public readonly bool IsContinuation => _continuationCount != 0; 186if (_continuationCount == 0) 222if (_continuationCount == _count) 241if (_continuationCount == 0) 268Debug.Assert(_continuationCount == 0); 317int stackSize = Math.Max(_count, _continuationCount); 355int stackSize = Math.Max(_count, _continuationCount); 397(int frameCount, bool includeCurrentFrame) = _continuationCount switch