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))] 238public bool TrackIncrementalSteps => _steps is not null; 481Debug.Assert(_steps.Count + 1 == _states.Count); 492_steps.Add( 501public IReadOnlyList<IncrementalGeneratorRunStep> Steps => (IReadOnlyList<IncrementalGeneratorRunStep>?)_steps ?? ImmutableArray<IncrementalGeneratorRunStep>.Empty; 520Debug.Assert(!TrackIncrementalSteps || _states.Count == _steps.Count); 552TrackIncrementalSteps ? _steps.ToImmutableAndFree() : default,