25 references to Added
Microsoft.CodeAnalysis (25)
SourceGeneration\Nodes\BatchNode.cs (4)
135
tableBuilder.AddEntry(sourceValues, EntryState.
Added
, stopwatch.Elapsed, sourceInputs, EntryState.
Added
);
141
tableBuilder.AddEntry(sourceValues, EntryState.
Added
, stopwatch.Elapsed, sourceInputs, EntryState.
Added
);
SourceGeneration\Nodes\HostOutputNode.cs (2)
60
nodeTable.AddEntry(output.ToImmutableAndFree(), EntryState.
Added
, stopwatch.Elapsed, inputs, EntryState.
Added
);
SourceGeneration\Nodes\InputNode.cs (4)
102
tableBuilder.AddEntry(newItem, EntryState.
Added
, elapsedTime, noInputStepsStepInfo, EntryState.
Added
);
133
tableBuilder.AddEntry(input, EntryState.
Added
, TimeSpan.Zero, stepInputs: default, EntryState.
Added
);
SourceGeneration\Nodes\NodeStateTable.cs (9)
209
EntryState.
Added
=> 'A',
425
builder!.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,
569
private static readonly ImmutableArray<EntryState> s_allAddedEntries = ImmutableArray.Create(EntryState.
Added
);
658
EntryState.
Added
=> s_allAddedEntries,
SourceGeneration\Nodes\PredicateSyntaxStrategy.cs (3)
111
if (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)
76
tableBuilder.AddEntry(sourcesAndDiagnostics, EntryState.
Added
, stopwatch.Elapsed, inputs, EntryState.
Added
);
SourceGeneration\Nodes\TransformNode.cs (1)
92
tableBuilder.AddEntries(newOutputs, EntryState.
Added
, stopwatch.Elapsed, inputs, entry.State);