1 write to FilterSpan
Microsoft.CodeAnalysis (1)
DiagnosticAnalyzer\DiagnosticAnalysisContext.cs (1)
1465
FilterSpan
= filterSpan;
10 references to FilterSpan
Microsoft.CodeAnalysis.CodeStyle (4)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\AnalysisContextExtensions.cs (4)
100
/// - <see cref="OperationBlockAnalysisContext.
FilterSpan
"/> is <see langword="null"/> (we are analyzing the entire tree)
102
/// - <paramref name="span"/> intersects with <see cref="OperationBlockAnalysisContext.
FilterSpan
"/>.
105
=> ShouldAnalyze(context.
FilterSpan
, span);
193
=> operationBlock.Syntax.FindNode(context.
FilterSpan
, findInTrivia, getInnermostNodeForTie);
Microsoft.CodeAnalysis.Test.Utilities (2)
Diagnostics\CommonDiagnosticAnalyzers.cs (2)
3170
if (startContext.FilterSpan != endContext.
FilterSpan
)
3179
CallbackFilterSpan = context.
FilterSpan
;
Microsoft.CodeAnalysis.Workspaces (4)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\AnalysisContextExtensions.cs (4)
100
/// - <see cref="OperationBlockAnalysisContext.
FilterSpan
"/> is <see langword="null"/> (we are analyzing the entire tree)
102
/// - <paramref name="span"/> intersects with <see cref="OperationBlockAnalysisContext.
FilterSpan
"/>.
105
=> ShouldAnalyze(context.
FilterSpan
, span);
193
=> operationBlock.Syntax.FindNode(context.
FilterSpan
, findInTrivia, getInnermostNodeForTie);