1 write to FilterSpan
Microsoft.CodeAnalysis (1)
DiagnosticAnalyzer\DiagnosticAnalysisContext.cs (1)
1088
FilterSpan
= filterSpan;
10 references to FilterSpan
Microsoft.CodeAnalysis.CodeStyle (4)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\AnalysisContextExtensions.cs (4)
130
/// - <see cref="CodeBlockStartAnalysisContext{TSytnaxKind}.
FilterSpan
"/> is <see langword="null"/> (we are analyzing the entire tree)
132
/// - <paramref name="span"/> intersects with <see cref="CodeBlockStartAnalysisContext{TSytnaxKind}.
FilterSpan
"/>.
135
=> ShouldAnalyze(context.
FilterSpan
, span);
211
=> context.CodeBlock.FindNode(context.
FilterSpan
, findInTrivia, getInnermostNodeForTie);
Microsoft.CodeAnalysis.Test.Utilities (2)
Diagnostics\CommonDiagnosticAnalyzers.cs (2)
3195
CallbackFilterSpan = startContext.
FilterSpan
;
3203
if (startContext.
FilterSpan
!= endContext.FilterSpan)
Microsoft.CodeAnalysis.Workspaces (4)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\AnalysisContextExtensions.cs (4)
130
/// - <see cref="CodeBlockStartAnalysisContext{TSytnaxKind}.
FilterSpan
"/> is <see langword="null"/> (we are analyzing the entire tree)
132
/// - <paramref name="span"/> intersects with <see cref="CodeBlockStartAnalysisContext{TSytnaxKind}.
FilterSpan
"/>.
135
=> ShouldAnalyze(context.
FilterSpan
, span);
211
=> context.CodeBlock.FindNode(context.
FilterSpan
, findInTrivia, getInnermostNodeForTie);