11 references to IncrementalStepRunReason
Microsoft.CodeAnalysis (11)
SourceGeneration\IncrementalGeneratorRunStep.cs (2)
16internal IncrementalGeneratorRunStep(string? stepName, ImmutableArray<(IncrementalGeneratorRunStep Source, int OutputIndex)> inputs, ImmutableArray<(object Value, IncrementalStepRunReason OutputState)> outputs, TimeSpan elapsedTime) 28public ImmutableArray<(object Value, IncrementalStepRunReason Reason)> Outputs { get; }
SourceGeneration\Nodes\NodeStateTable.cs (9)
486var stepOutputBuilder = ArrayBuilder<(object, IncrementalStepRunReason)>.GetInstance(outputInfo.Count); 504private static IncrementalStepRunReason AsStepState(EntryState inputState, EntryState outputState) 508(EntryState.Added, EntryState.Added) => IncrementalStepRunReason.New, 509(EntryState.Modified, EntryState.Modified) => IncrementalStepRunReason.Modified, 510(EntryState.Modified, EntryState.Cached) => IncrementalStepRunReason.Unchanged, 511(EntryState.Cached, EntryState.Cached) => IncrementalStepRunReason.Cached, 512(EntryState.Removed, EntryState.Removed) => IncrementalStepRunReason.Removed, 513(EntryState.Modified, EntryState.Removed) => IncrementalStepRunReason.Removed, 514(EntryState.Modified, EntryState.Added) => IncrementalStepRunReason.New,