5 references to TryModifyEntry
Microsoft.CodeAnalysis (5)
SourceGeneration\Nodes\BatchNode.cs (1)
139if (!tableBuilder.TryModifyEntry(sourceValues, _comparer, stopwatch.Elapsed, sourceInputs, EntryState.Modified))
SourceGeneration\Nodes\CombineNode.cs (1)
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\PredicateSyntaxStrategy.cs (1)
111if (transformInputState == EntryState.Added || !_transformTable.TryModifyEntry(transformed, _comparer, stopwatch.Elapsed, noInputStepsStepInfo, transformInputState))
SourceGeneration\Nodes\SourceOutputNode.cs (1)
74if (entry.State != EntryState.Modified || !tableBuilder.TryModifyEntry(sourcesAndDiagnostics, EqualityComparer<TOutput>.Default, stopwatch.Elapsed, inputs, entry.State))