Läs på engelska

Dela via


IncrementalStepRunReason Enum

Definition

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

C#
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

Produkt Versioner
Roslyn 4.2.0, 4.3.0, 4.4.0, 4.5.0, 4.6.0, 4.7.0, 4.8.0, 4.9.2, 4.1.0, 4.12.2, 4.13.0