3 writes to _count
Microsoft.CodeAnalysis.CSharp (3)
Syntax\SyntaxTreeDiagnosticEnumerator.cs (3)
137
_count
= 0;
179
_count
++;
184
_count
--;
9 references to _count
Microsoft.CodeAnalysis.CSharp (9)
Syntax\SyntaxTreeDiagnosticEnumerator.cs (9)
171
if (
_count
>= _stack.Length)
178
_stack[
_count
] = new NodeIteration(node);
189
return
_count
> 0;
196
return this[
_count
- 1];
205
Debug.Assert(index >= 0 && index <
_count
);
213
Debug.Assert(
_count
> 0);
214
_stack[
_count
- 1].SlotIndex = slotIndex;
220
Debug.Assert(
_count
> 0);
221
_stack[
_count
- 1].DiagnosticIndex = diagnosticIndex;