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)
213
EntryState.
Cached
=> 'C',
308
RecordStepInfoForLastEntry(elapsedTime, stepInputs, EntryState.
Cached
);
365
RecordStepInfoForLastEntry(elapsedTime, stepInputs, EntryState.
Cached
);
510
(EntryState.Modified, EntryState.
Cached
) => IncrementalStepRunReason.Unchanged,
511
(EntryState.
Cached
, EntryState.
Cached
) => IncrementalStepRunReason.Cached,
563
? (previous, EntryState.
Cached
, chosePrevious: true)
571
private static readonly ImmutableArray<EntryState> s_allCachedEntries = ImmutableArray.Create(EntryState.
Cached
);
623
public bool IsCached => this._states == s_allCachedEntries || this._states.All(s => s == EntryState.
Cached
);
660
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))