1 write to FilterSpan
Microsoft.CodeAnalysis (1)
DiagnosticAnalyzer\DiagnosticAnalysisContext.cs (1)
840
FilterSpan
= filterSpan;
18 references to FilterSpan
Microsoft.CodeAnalysis.CodeStyle (8)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\AnalysisContextExtensions.cs (8)
60
/// - <see cref="SymbolAnalysisContext.
FilterSpan
"/> is <see langword="null"/> (we are analyzing the entire tree)
62
/// - <paramref name="span"/> intersects with <see cref="SymbolAnalysisContext.
FilterSpan
"/>.
65
=> context.FilterTree == null || (context.FilterTree == tree && ShouldAnalyze(context.
FilterSpan
, span));
70
/// - <see cref="SymbolAnalysisContext.
FilterSpan
"/> is <see langword="null"/> (we are analyzing the entire tree)
72
/// - <paramref name="location"/> intersects with <see cref="SymbolAnalysisContext.
FilterSpan
"/>.
174
/// and <see cref="SymbolAnalysisContext.
FilterSpan
"/> to be non-null.
179
Contract.ThrowIfFalse(context.
FilterSpan
.HasValue);
180
return context.FilterTree.FindNode(context.
FilterSpan
, findInTrivia, getInnermostNodeForTie, context.CancellationToken);
Microsoft.CodeAnalysis.Test.Utilities (2)
Diagnostics\CommonDiagnosticAnalyzers.cs (2)
3129
CallbackFilterSpan = context.
FilterSpan
;
3145
if (startContext.FilterSpan != endContext.
FilterSpan
)
Microsoft.CodeAnalysis.Workspaces (8)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\AnalysisContextExtensions.cs (8)
60
/// - <see cref="SymbolAnalysisContext.
FilterSpan
"/> is <see langword="null"/> (we are analyzing the entire tree)
62
/// - <paramref name="span"/> intersects with <see cref="SymbolAnalysisContext.
FilterSpan
"/>.
65
=> context.FilterTree == null || (context.FilterTree == tree && ShouldAnalyze(context.
FilterSpan
, span));
70
/// - <see cref="SymbolAnalysisContext.
FilterSpan
"/> is <see langword="null"/> (we are analyzing the entire tree)
72
/// - <paramref name="location"/> intersects with <see cref="SymbolAnalysisContext.
FilterSpan
"/>.
174
/// and <see cref="SymbolAnalysisContext.
FilterSpan
"/> to be non-null.
179
Contract.ThrowIfFalse(context.
FilterSpan
.HasValue);
180
return context.FilterTree.FindNode(context.
FilterSpan
, findInTrivia, getInnermostNodeForTie, context.CancellationToken);