1 write to GeneratorStates
Microsoft.CodeAnalysis (1)
SourceGeneration\GeneratorDriverState.cs (1)
27
GeneratorStates
= generatorStates;
11 references to GeneratorStates
Microsoft.CodeAnalysis (11)
SourceGeneration\GeneratorDriver.cs (7)
74
foreach (var generatorState in state.
GeneratorStates
)
90
generatorStates: _state.
GeneratorStates
.AddRange(new GeneratorState[generators.Length]));
105
states.Add(_state.
GeneratorStates
[existingIndex]);
119
var newStates = _state.
GeneratorStates
;
175
_state.
GeneratorStates
,
209
var generatorTimings = _state.Generators.ZipAsArray(_state.
GeneratorStates
, (generator, generatorState) => new GeneratorTimingInfo(generator, generatorState.ElapsedTime));
231
var generatorState = state.
GeneratorStates
[i];
SourceGeneration\GeneratorDriverState.cs (4)
37
Debug.Assert(Generators.Length ==
GeneratorStates
.Length);
38
Debug.Assert(IncrementalGenerators.Length ==
GeneratorStates
.Length);
46
/// If there are any states present in <see cref="
GeneratorStates
" />, they were produced by a subset of these generators.
122
generatorStates ?? this.
GeneratorStates
,