1 write to FilterSpan
Microsoft.CodeAnalysis (1)
DiagnosticAnalyzer\DiagnosticAnalysisContext.cs (1)
1317
FilterSpan
= filterSpan;
14 references to FilterSpan
Microsoft.CodeAnalysis.CodeStyle (6)
src\Analyzers\Core\Analyzers\RemoveUnusedParametersAndValues\AbstractRemoveUnusedParametersAndValuesDiagnosticAnalyzer.SymbolStartAnalyzer.BlockAnalyzer.cs (2)
122
if (context.
FilterSpan
.HasValue)
124
Contract.ThrowIfFalse(context.
FilterSpan
!= symbolStartAnalyzer._symbolStartAnalysisContext.FilterSpan);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\AnalysisContextExtensions.cs (4)
90
/// - <see cref="OperationBlockStartAnalysisContext.
FilterSpan
"/> is <see langword="null"/> (we are analyzing the entire tree)
92
/// - <paramref name="span"/> intersects with <see cref="OperationBlockStartAnalysisContext.
FilterSpan
"/>.
95
=> ShouldAnalyze(context.
FilterSpan
, span);
187
=> operationBlock.Syntax.FindNode(context.
FilterSpan
, findInTrivia, getInnermostNodeForTie);
Microsoft.CodeAnalysis.Features (2)
src\Analyzers\Core\Analyzers\RemoveUnusedParametersAndValues\AbstractRemoveUnusedParametersAndValuesDiagnosticAnalyzer.SymbolStartAnalyzer.BlockAnalyzer.cs (2)
122
if (context.
FilterSpan
.HasValue)
124
Contract.ThrowIfFalse(context.
FilterSpan
!= symbolStartAnalyzer._symbolStartAnalysisContext.FilterSpan);
Microsoft.CodeAnalysis.Test.Utilities (2)
Diagnostics\CommonDiagnosticAnalyzers.cs (2)
3162
CallbackFilterSpan = startContext.
FilterSpan
;
3170
if (startContext.
FilterSpan
!= endContext.FilterSpan)
Microsoft.CodeAnalysis.Workspaces (4)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\AnalysisContextExtensions.cs (4)
90
/// - <see cref="OperationBlockStartAnalysisContext.
FilterSpan
"/> is <see langword="null"/> (we are analyzing the entire tree)
92
/// - <paramref name="span"/> intersects with <see cref="OperationBlockStartAnalysisContext.
FilterSpan
"/>.
95
=> ShouldAnalyze(context.
FilterSpan
, span);
187
=> operationBlock.Syntax.FindNode(context.
FilterSpan
, findInTrivia, getInnermostNodeForTie);