18 references to Cached
Microsoft.CodeAnalysis (18)
SourceGeneration\Nodes\AbstractSourceOutputNode.cs (1)
59else if (entry.State != EntryState.Cached || !tableBuilder.TryUseCachedEntries(TimeSpan.Zero, inputs))
SourceGeneration\Nodes\CombineNode.cs (3)
69(EntryState.Cached, true) => EntryState.Cached, 70(EntryState.Cached, false) => EntryState.Modified,
SourceGeneration\Nodes\HostOutputNode.cs (1)
54else if (entry.State != EntryState.Cached || !nodeTable.TryUseCachedEntries(TimeSpan.Zero, inputs))
SourceGeneration\Nodes\NodeStateTable.cs (10)
213EntryState.Cached => 'C', 308RecordStepInfoForLastEntry(elapsedTime, stepInputs, EntryState.Cached); 365RecordStepInfoForLastEntry(elapsedTime, stepInputs, EntryState.Cached); 510(EntryState.Modified, EntryState.Cached) => IncrementalStepRunReason.Unchanged, 511(EntryState.Cached, EntryState.Cached) => IncrementalStepRunReason.Cached, 569? (previous, EntryState.Cached, chosePrevious: true) 577private static readonly ImmutableArray<EntryState> s_allCachedEntries = ImmutableArray.Create(EntryState.Cached); 629public bool IsCached => this._states == s_allCachedEntries || this._states.All(s => s == EntryState.Cached); 666EntryState.Cached => s_allCachedEntries,
SourceGeneration\Nodes\PredicateSyntaxStrategy.cs (2)
89if (state != EntryState.Cached || !_filterTable.TryUseCachedEntries(TimeSpan.Zero, noInputStepsStepInfo, out NodeStateTable<SyntaxNode>.TableEntry entry)) 114var transformInputState = state == EntryState.Cached ? EntryState.Modified : state;
SourceGeneration\Nodes\TransformNode.cs (1)
78else if (entry.State != EntryState.Cached || !tableBuilder.TryUseCachedEntries(TimeSpan.Zero, inputs))