5 references to TryModifyEntry
Microsoft.CodeAnalysis (5)
SourceGeneration\Nodes\BatchNode.cs (1)
139
if (!tableBuilder.
TryModifyEntry
(sourceValues, _comparer, stopwatch.Elapsed, sourceInputs, EntryState.Modified))
SourceGeneration\Nodes\CombineNode.cs (1)
75
if (state != EntryState.Modified || _comparer is null || !tableBuilder.
TryModifyEntry
(entry, _comparer, stopwatch.Elapsed, stepInputs, state))
SourceGeneration\Nodes\InputNode.cs (1)
86
var modified = tableBuilder.
TryModifyEntry
(inputItems[itemIndex], _comparer, elapsedTime, noInputStepsStepInfo, EntryState.Modified);
SourceGeneration\Nodes\PredicateSyntaxStrategy.cs (1)
111
if (transformInputState == EntryState.Added || !_transformTable.
TryModifyEntry
(transformed, _comparer, stopwatch.Elapsed, noInputStepsStepInfo, transformInputState))
SourceGeneration\Nodes\SourceOutputNode.cs (1)
74
if (entry.State != EntryState.Modified || !tableBuilder.
TryModifyEntry
(sourcesAndDiagnostics, EqualityComparer<TOutput>.Default, stopwatch.Elapsed, inputs, entry.State))