14 references to GetItem
Microsoft.CodeAnalysis (14)
SourceGeneration\Nodes\NodeStateTable.cs (13)
118
_current = new NodeStateEntry<T>(_inputEntry.
GetItem
(_nextInputEntryIndex), _inputEntry.GetState(_nextInputEntryIndex), _nextInputEntryIndex, _step);
180
return (_states[^1].
GetItem
(0), HasTrackedSteps ? Steps[^1] : null);
338
var (chosen, state, _) = GetModifiedItemAndState(previousEntry.
GetItem
(0), value, comparer);
383
var previousItem = previousEntry.
GetItem
(i);
402
builder.Add(previousEntry.
GetItem
(j), previousEntry.GetState(j));
417
builder!.Add(previousEntry.
GetItem
(i), EntryState.Removed);
489
stepOutputBuilder.Add((outputInfo.
GetItem
(i)!, AsStepState(overallInputState, outputInfo.GetState(i))));
615
if (!equalityComparer.Equals(this.
GetItem
(i), entry.
GetItem
(i)))
646
itemBuilder.Add(this.
GetItem
(i));
684
public T Current => _entry.
GetItem
(_index);
692
return $"{
GetItem
(0)}: {GetState(0)}";
706
sb.Builder.Append(
GetItem
(i));
SourceGeneration\Nodes\PredicateSyntaxStrategy.cs (1)
104
var value = new GeneratorSyntaxContext(entry.
GetItem
(i), model, _owner._syntaxHelper);