1 write to FilterSpan
Microsoft.CodeAnalysis (1)
DiagnosticAnalyzer\DiagnosticAnalysisContext.cs (1)
1202
FilterSpan
= filterSpan;
10 references to FilterSpan
Microsoft.CodeAnalysis.CodeStyle (4)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\AnalysisContextExtensions.cs (4)
140
/// - <see cref="CodeBlockAnalysisContext.
FilterSpan
"/> is <see langword="null"/> (we are analyzing the entire tree)
142
/// - <paramref name="span"/> intersects with <see cref="CodeBlockAnalysisContext.
FilterSpan
"/>.
145
=> ShouldAnalyze(context.
FilterSpan
, span);
217
=> context.CodeBlock.FindNode(context.
FilterSpan
, findInTrivia, getInnermostNodeForTie);
Microsoft.CodeAnalysis.Test.Utilities (2)
Diagnostics\CommonDiagnosticAnalyzers.cs (2)
3203
if (startContext.FilterSpan != endContext.
FilterSpan
)
3212
CallbackFilterSpan = context.
FilterSpan
;
Microsoft.CodeAnalysis.Workspaces (4)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\AnalysisContextExtensions.cs (4)
140
/// - <see cref="CodeBlockAnalysisContext.
FilterSpan
"/> is <see langword="null"/> (we are analyzing the entire tree)
142
/// - <paramref name="span"/> intersects with <see cref="CodeBlockAnalysisContext.
FilterSpan
"/>.
145
=> ShouldAnalyze(context.
FilterSpan
, span);
217
=> context.CodeBlock.FindNode(context.
FilterSpan
, findInTrivia, getInnermostNodeForTie);