3 instantiations of AnalyzerWithState
Microsoft.CodeAnalysis.LanguageServer.Protocol (3)
Features\Diagnostics\EngineV2\DiagnosticIncrementalAnalyzer.IncrementalMemberEditAnalyzer.cs (1)
97var analyzerWithStateAndEmptyData = new AnalyzerWithState(analyzerWithState.Analyzer, analyzerWithState.IsHostAnalyzer, analyzerWithState.State, DocumentAnalysisData.Empty);
Features\Diagnostics\EngineV2\DiagnosticIncrementalAnalyzer_GetDiagnosticsForSpan.cs (2)
232syntaxAnalyzers.Add(new AnalyzerWithState(stateSet.Analyzer, stateSet.IsHostAnalyzer, state, existingData)); 244stateSets.Add(new AnalyzerWithState(stateSet.Analyzer, stateSet.IsHostAnalyzer, state, existingData));
21 references to AnalyzerWithState
Microsoft.CodeAnalysis.LanguageServer.Protocol (21)
Features\Diagnostics\EngineV2\DiagnosticIncrementalAnalyzer.IncrementalMemberEditAnalyzer.cs (11)
48ImmutableArray<AnalyzerWithState> analyzersWithState, 78using var _1 = ArrayBuilder<AnalyzerWithState>.GetInstance(out var spanBasedAnalyzers); 79using var _2 = ArrayBuilder<AnalyzerWithState>.GetInstance(out var documentBasedAnalyzers); 80(AnalyzerWithState analyzerWithState, bool spanBased)? compilerAnalyzerData = null; 81foreach (var analyzerWithState in analyzersWithState) 97var analyzerWithStateAndEmptyData = new AnalyzerWithState(analyzerWithState.Analyzer, analyzerWithState.IsHostAnalyzer, analyzerWithState.State, DocumentAnalysisData.Empty); 130(AnalyzerWithState analyzerWithState, bool spanBased)? compilerAnalyzerData, 140using var _ = ArrayBuilder<AnalyzerWithState>.GetInstance(1, analyzerWithState, out var analyzersWithState); 145ArrayBuilder<AnalyzerWithState> analyzersWithState, 157ArrayBuilder<AnalyzerWithState> analyzersWithState, 170ArrayBuilder<AnalyzerWithState> analyzersWithState,
Features\Diagnostics\EngineV2\DiagnosticIncrementalAnalyzer_GetDiagnosticsForSpan.cs (10)
191using var _1 = ArrayBuilder<AnalyzerWithState>.GetInstance(out var syntaxAnalyzers); 198using var _2 = ArrayBuilder<AnalyzerWithState>.GetInstance(out var semanticSpanBasedAnalyzers); 199using var _3 = ArrayBuilder<AnalyzerWithState>.GetInstance(out var semanticDocumentBasedAnalyzers); 296static ArrayBuilder<AnalyzerWithState> GetSemanticAnalysisSelectedStates( 299ArrayBuilder<AnalyzerWithState> semanticSpanBasedAnalyzers, 300ArrayBuilder<AnalyzerWithState> semanticDocumentBasedAnalyzers) 349ImmutableArray<AnalyzerWithState> analyzersWithState, 359using var _ = ArrayBuilder<AnalyzerWithState>.GetInstance(analyzersWithState.Length, out var filteredAnalyzersWithStateBuilder); 360foreach (var analyzerWithState in analyzersWithState) 406foreach (var analyzerWithState in analyzersWithState)