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