1 write to _steps
Microsoft.CodeAnalysis (1)
SourceGeneration\Nodes\NodeStateTable.cs (1)
262
_steps
= ArrayBuilder<IncrementalGeneratorRunStep>.GetInstance();
7 references to _steps
Microsoft.CodeAnalysis (7)
SourceGeneration\Nodes\NodeStateTable.cs (7)
237
[MemberNotNullWhen(true, nameof(
_steps
))]
238
public bool TrackIncrementalSteps =>
_steps
is not null;
481
Debug.Assert(
_steps
.Count + 1 == _states.Count);
492
_steps
.Add(
501
public IReadOnlyList<IncrementalGeneratorRunStep> Steps => (IReadOnlyList<IncrementalGeneratorRunStep>?)
_steps
?? ImmutableArray<IncrementalGeneratorRunStep>.Empty;
520
Debug.Assert(!TrackIncrementalSteps || _states.Count ==
_steps
.Count);
552
TrackIncrementalSteps ?
_steps
.ToImmutableAndFree() : default,