19 references to Modified
Microsoft.CodeAnalysis (19)
SourceGeneration\Nodes\BatchNode.cs (1)
139if (!tableBuilder.TryModifyEntry(sourceValues, _comparer, stopwatch.Elapsed, sourceInputs, EntryState.Modified))
SourceGeneration\Nodes\CombineNode.cs (2)
70(EntryState.Cached, false) => EntryState.Modified, 75if (state != EntryState.Modified || _comparer is null || !tableBuilder.TryModifyEntry(entry, _comparer, stopwatch.Elapsed, stepInputs, state))
SourceGeneration\Nodes\InputNode.cs (1)
86var modified = tableBuilder.TryModifyEntry(inputItems[itemIndex], _comparer, elapsedTime, noInputStepsStepInfo, EntryState.Modified);
SourceGeneration\Nodes\NodeStateTable.cs (9)
211EntryState.Modified => 'M', 508(EntryState.Modified, EntryState.Modified) => IncrementalStepRunReason.Modified, 509(EntryState.Modified, EntryState.Cached) => IncrementalStepRunReason.Unchanged, 512(EntryState.Modified, EntryState.Removed) => IncrementalStepRunReason.Removed, 513(EntryState.Modified, EntryState.Added) => IncrementalStepRunReason.New, 563: (replacement, EntryState.Modified, chosePrevious: false); 571private static readonly ImmutableArray<EntryState> s_allModifiedEntries = ImmutableArray.Create(EntryState.Modified); 660EntryState.Modified => s_allModifiedEntries,
SourceGeneration\Nodes\PredicateSyntaxStrategy.cs (2)
88if (state != EntryState.Modified || !_filterTable.TryModifyEntries(nodes, Roslyn.Utilities.ReferenceEqualityComparer.Instance, stopwatch.Elapsed, noInputStepsStepInfo, state, out entry)) 109var transformInputState = state == EntryState.Cached ? EntryState.Modified : state;
SourceGeneration\Nodes\SourceOutputNode.cs (1)
74if (entry.State != EntryState.Modified || !tableBuilder.TryModifyEntry(sourcesAndDiagnostics, EqualityComparer<TOutput>.Default, stopwatch.Elapsed, inputs, entry.State))
SourceGeneration\Nodes\SyntaxReceiverStrategy.cs (2)
63_nodeStateTable.AddEntry(_receiver, EntryState.Modified, lastElapsedTime, TrackIncrementalSteps ? System.Collections.Immutable.ImmutableArray<(IncrementalGeneratorRunStep, int)>.Empty : default, EntryState.Modified);
SourceGeneration\Nodes\TransformNode.cs (1)
90if (entry.State != EntryState.Modified || !tableBuilder.TryModifyEntries(newOutputs, _comparer, stopwatch.Elapsed, inputs, entry.State))