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)
212EntryState.Cached => 'C', 307RecordStepInfoForLastEntry(elapsedTime, stepInputs, EntryState.Cached); 364RecordStepInfoForLastEntry(elapsedTime, stepInputs, EntryState.Cached); 509(EntryState.Modified, EntryState.Cached) => IncrementalStepRunReason.Unchanged, 510(EntryState.Cached, EntryState.Cached) => IncrementalStepRunReason.Cached, 562? (previous, EntryState.Cached, chosePrevious: true) 570private static readonly ImmutableArray<EntryState> s_allCachedEntries = ImmutableArray.Create(EntryState.Cached); 622public bool IsCached => this._states == s_allCachedEntries || this._states.All(s => s == EntryState.Cached); 659EntryState.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))