25 references to Added
Microsoft.CodeAnalysis (25)
SourceGeneration\Nodes\BatchNode.cs (4)
135tableBuilder.AddEntry(sourceValues, EntryState.Added, stopwatch.Elapsed, sourceInputs, EntryState.Added); 141tableBuilder.AddEntry(sourceValues, EntryState.Added, stopwatch.Elapsed, sourceInputs, EntryState.Added);
SourceGeneration\Nodes\HostOutputNode.cs (2)
60nodeTable.AddEntry(output.ToImmutableAndFree(), EntryState.Added, stopwatch.Elapsed, inputs, EntryState.Added);
SourceGeneration\Nodes\InputNode.cs (4)
102tableBuilder.AddEntry(newItem, EntryState.Added, elapsedTime, noInputStepsStepInfo, EntryState.Added); 133tableBuilder.AddEntry(input, EntryState.Added, TimeSpan.Zero, stepInputs: default, EntryState.Added);
SourceGeneration\Nodes\NodeStateTable.cs (9)
209EntryState.Added => 'A', 425builder!.Add(outputs[i], EntryState.Added); 451_insertedCount += state == EntryState.Added ? 1 : 0; 459_insertedCount += state == EntryState.Added ? 1 : 0; 507(EntryState.Added, EntryState.Added) => IncrementalStepRunReason.New, 513(EntryState.Modified, EntryState.Added) => IncrementalStepRunReason.New, 569private static readonly ImmutableArray<EntryState> s_allAddedEntries = ImmutableArray.Create(EntryState.Added); 658EntryState.Added => s_allAddedEntries,
SourceGeneration\Nodes\PredicateSyntaxStrategy.cs (3)
111if (transformInputState == EntryState.Added || !_transformTable.TryModifyEntry(transformed, _comparer, stopwatch.Elapsed, noInputStepsStepInfo, transformInputState)) 113_transformTable.AddEntry(transformed, EntryState.Added, stopwatch.Elapsed, noInputStepsStepInfo, EntryState.Added);
SourceGeneration\Nodes\SourceOutputNode.cs (2)
76tableBuilder.AddEntry(sourcesAndDiagnostics, EntryState.Added, stopwatch.Elapsed, inputs, EntryState.Added);
SourceGeneration\Nodes\TransformNode.cs (1)
92tableBuilder.AddEntries(newOutputs, EntryState.Added, stopwatch.Elapsed, inputs, entry.State);