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)
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. 179Contract.ThrowIfFalse(context.FilterSpan.HasValue); 180return 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)
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. 179Contract.ThrowIfFalse(context.FilterSpan.HasValue); 180return context.FilterTree.FindNode(context.FilterSpan, findInTrivia, getInnermostNodeForTie, context.CancellationToken);