17 references to Count
Microsoft.CodeAnalysis (17)
SourceGeneration\Nodes\NodeStateTable.cs (17)
91
=> _states.Sum(static e => e.
Count
);
99
for (int j = 0; j < inputEntry.
Count
; j++)
132
Debug.Assert((_states.Length == 1 || _states.Length == 2 && _states[0].IsRemoved) && _states[^1].
Count
== 1);
256
Debug.Assert(_previous._states[_states.Count].
Count
== 1);
280
if (previousEntry.
Count
== 0 && outputs.Length == 0)
296
var totalBuilderItems = Math.Max(previousEntry.
Count
, outputs.Length);
297
var builder = previousEntry.
Count
== outputs.Length ? null : new TableEntry.Builder(capacity: totalBuilderItems);
299
var sharedCount = Math.Min(previousEntry.
Count
, outputs.Length);
334
for (int i = sharedCount; i < previousEntry.
Count
; i++)
381
var stepOutputBuilder = ArrayBuilder<(object, IncrementalStepRunReason)>.GetInstance(outputInfo.
Count
);
383
for (int i = 0; i < outputInfo.
Count
; i++)
494
if (this.
Count
!= entry.
Count
)
497
for (int i = 0, n = this.
Count
; i < n; i++)
547
return _index < _entry.
Count
;
556
if (this.
Count
== 1)
564
for (int i = 0; i <
Count
; i++)