1 write to FilterSpan
Microsoft.CodeAnalysis (1)
DiagnosticAnalyzer\DiagnosticAnalysisContext.cs (1)
840FilterSpan = filterSpan;
115 references to FilterSpan
GenerateDocumentationAndConfigFiles (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);
Metrics (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);
Metrics.Legacy (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 (1)
DiagnosticAnalyzer\DiagnosticStartAnalysisScope.cs (1)
578context.FilterSpan,
Microsoft.CodeAnalysis.Analyzers (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.AnalyzerUtilities (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.BannedApiAnalyzers (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.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.PerformanceSensitiveAnalyzers (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.PublicApiAnalyzers (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.ResxSourceGenerator (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);
Roslyn.Diagnostics.Analyzers (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);
Test.Utilities (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);
Text.Analyzers (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);