1 write to GeneratorStates
Microsoft.CodeAnalysis (1)
SourceGeneration\GeneratorDriverState.cs (1)
27GeneratorStates = generatorStates;
11 references to GeneratorStates
Microsoft.CodeAnalysis (11)
SourceGeneration\GeneratorDriver.cs (7)
74foreach (var generatorState in state.GeneratorStates) 90generatorStates: _state.GeneratorStates.AddRange(new GeneratorState[generators.Length])); 105states.Add(_state.GeneratorStates[existingIndex]); 119var newStates = _state.GeneratorStates; 175_state.GeneratorStates, 209var generatorTimings = _state.Generators.ZipAsArray(_state.GeneratorStates, (generator, generatorState) => new GeneratorTimingInfo(generator, generatorState.ElapsedTime)); 231var generatorState = state.GeneratorStates[i];
SourceGeneration\GeneratorDriverState.cs (4)
37Debug.Assert(Generators.Length == GeneratorStates.Length); 38Debug.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. 122generatorStates ?? this.GeneratorStates,