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