18 references to Cached
Microsoft.CodeAnalysis (18)
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, 563? (previous, EntryState.Cached, chosePrevious: true) 571private static readonly ImmutableArray<EntryState> s_allCachedEntries = ImmutableArray.Create(EntryState.Cached); 623public bool IsCached => this._states == s_allCachedEntries || this._states.All(s => s == EntryState.Cached); 660EntryState.Cached => s_allCachedEntries,
SourceGeneration\Nodes\PredicateSyntaxStrategy.cs (2)
83if (state != EntryState.Cached || !_filterTable.TryUseCachedEntries(TimeSpan.Zero, noInputStepsStepInfo, out NodeStateTable<SyntaxNode>.TableEntry entry)) 109var transformInputState = state == EntryState.Cached ? EntryState.Modified : state;
SourceGeneration\Nodes\SourceOutputNode.cs (1)
62else if (entry.State != EntryState.Cached || !tableBuilder.TryUseCachedEntries(TimeSpan.Zero, inputs))
SourceGeneration\Nodes\TransformNode.cs (1)
76else if (entry.State != EntryState.Cached || !tableBuilder.TryUseCachedEntries(TimeSpan.Zero, inputs))