1 write to IsSyntacticSingleFileAnalysis
Microsoft.CodeAnalysis (1)
DiagnosticAnalyzer\AnalysisScope.cs (1)
152
IsSyntacticSingleFileAnalysis
= isSyntacticSingleFileAnalysis;
14 references to IsSyntacticSingleFileAnalysis
Microsoft.CodeAnalysis (14)
DiagnosticAnalyzer\AnalysisResultBuilder.cs (4)
217
var completedAnalyzersForFile = GetCompletedAnalyzersForFile_NoLock(analysisScope.FilterFileOpt.Value, analysisScope.
IsSyntacticSingleFileAnalysis
);
233
AddCompletedAnalyzerForFile_NoLock(analysisScope.FilterFileOpt.Value, analysisScope.
IsSyntacticSingleFileAnalysis
, analyzer);
237
if (analysisScope.
IsSyntacticSingleFileAnalysis
)
422
else if (analysisScope.
IsSyntacticSingleFileAnalysis
)
DiagnosticAnalyzer\AnalysisScope.cs (3)
94
IsSingleFileAnalysisForCompilerAnalyzer && !
IsSyntacticSingleFileAnalysis
;
195
return new AnalysisScope(SyntaxTrees, AdditionalFiles, analyzers, hasAllAnalyzers, FilterFileOpt, FilterSpanOpt, OriginalFilterFile, OriginalFilterSpan,
IsSyntacticSingleFileAnalysis
, ConcurrentAnalysis);
211
=> new AnalysisScope(SyntaxTrees, AdditionalFiles, Analyzers, HasAllAnalyzers, FilterFileOpt, filterSpan, OriginalFilterFile, OriginalFilterSpan,
IsSyntacticSingleFileAnalysis
, ConcurrentAnalysis);
DiagnosticAnalyzer\AnalyzerDriver.cs (2)
737
if (analysisScope.IsSingleFileAnalysis && !analysisScope.
IsSyntacticSingleFileAnalysis
)
769
if (analysisScope.IsSingleFileAnalysis && !analysisScope.
IsSyntacticSingleFileAnalysis
)
DiagnosticAnalyzer\CompilationWithAnalyzers.cs (5)
778
Debug.Assert(!analysisScope.
IsSyntacticSingleFileAnalysis
);
973
(analysisScope.FilterFileOpt.Value, analysisScope.
IsSyntacticSingleFileAnalysis
) :
996
if (analysisScope.
IsSyntacticSingleFileAnalysis
|| !hasAnyActionsRequiringCompilationEvents)
1029
else if (!analysisScope.
IsSyntacticSingleFileAnalysis
)
1046
Debug.Assert(!analysisScope.
IsSyntacticSingleFileAnalysis
);