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)
54
else if (entry.State != EntryState.
Cached
|| !nodeTable.TryUseCachedEntries(TimeSpan.Zero, inputs))
SourceGeneration\Nodes\NodeStateTable.cs (10)
212
EntryState.
Cached
=> 'C',
307
RecordStepInfoForLastEntry(elapsedTime, stepInputs, EntryState.
Cached
);
364
RecordStepInfoForLastEntry(elapsedTime, stepInputs, EntryState.
Cached
);
509
(EntryState.Modified, EntryState.
Cached
) => IncrementalStepRunReason.Unchanged,
510
(EntryState.
Cached
, EntryState.
Cached
) => IncrementalStepRunReason.Cached,
562
? (previous, EntryState.
Cached
, chosePrevious: true)
570
private static readonly ImmutableArray<EntryState> s_allCachedEntries = ImmutableArray.Create(EntryState.
Cached
);
622
public bool IsCached => this._states == s_allCachedEntries || this._states.All(s => s == EntryState.
Cached
);
659
EntryState.
Cached
=> s_allCachedEntries,
SourceGeneration\Nodes\PredicateSyntaxStrategy.cs (2)
83
if (state != EntryState.
Cached
|| !_filterTable.TryUseCachedEntries(TimeSpan.Zero, noInputStepsStepInfo, out NodeStateTable<SyntaxNode>.TableEntry entry))
109
var transformInputState = state == EntryState.
Cached
? EntryState.Modified : state;
SourceGeneration\Nodes\SourceOutputNode.cs (1)
62
else if (entry.State != EntryState.
Cached
|| !tableBuilder.TryUseCachedEntries(TimeSpan.Zero, inputs))
SourceGeneration\Nodes\TransformNode.cs (1)
76
else if (entry.State != EntryState.
Cached
|| !tableBuilder.TryUseCachedEntries(TimeSpan.Zero, inputs))