Delen via


IncrementalStepRunReason Enum

Definition

The state of the output of a given executed incremental source generator step.

public enum IncrementalStepRunReason
type IncrementalStepRunReason = 
Public Enum IncrementalStepRunReason
Inheritance
IncrementalStepRunReason

Fields

Name Value Description
New 0

The input to this step was added or modified from a previous run, and it produced a new output.

Modified 1

The input to this step was modified from a previous run, and it produced a different value than the previous run.

Unchanged 2

The input to this step was modified from a previous run, but it produced an equal value to the previous run.

Cached 3

The output of this step was pulled from this step's cache since the inputs was unchanged from the previous run.

Removed 4

The input to this step was removed or modified from a previous run, and the output it used to generate is no longer present.

Applies to