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