1 write to FilterSpan
Microsoft.CodeAnalysis (1)
DiagnosticAnalyzer\DiagnosticAnalysisContext.cs (1)
840
FilterSpan
= filterSpan;
57 references to FilterSpan
GenerateDocumentationAndConfigFiles (8)
src\roslyn\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.
178
Contract.ThrowIfFalse(context.
FilterSpan
.HasValue);
179
return context.FilterTree.FindNode(context.
FilterSpan
, findInTrivia, getInnermostNodeForTie, context.CancellationToken);
Microsoft.CodeAnalysis (1)
DiagnosticAnalyzer\DiagnosticStartAnalysisScope.cs (1)
588
context.
FilterSpan
,
Microsoft.CodeAnalysis.Analyzers (8)
src\roslyn\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.
178
Contract.ThrowIfFalse(context.
FilterSpan
.HasValue);
179
return context.FilterTree.FindNode(context.
FilterSpan
, findInTrivia, getInnermostNodeForTie, context.CancellationToken);
Microsoft.CodeAnalysis.AnalyzerUtilities (8)
src\roslyn\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.
178
Contract.ThrowIfFalse(context.
FilterSpan
.HasValue);
179
return context.FilterTree.FindNode(context.
FilterSpan
, findInTrivia, getInnermostNodeForTie, context.CancellationToken);
Microsoft.CodeAnalysis.CodeStyle (8)
src\roslyn\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.
178
Contract.ThrowIfFalse(context.
FilterSpan
.HasValue);
179
return context.FilterTree.FindNode(context.
FilterSpan
, findInTrivia, getInnermostNodeForTie, context.CancellationToken);
Microsoft.CodeAnalysis.ResxSourceGenerator (8)
src\roslyn\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.
178
Contract.ThrowIfFalse(context.
FilterSpan
.HasValue);
179
return context.FilterTree.FindNode(context.
FilterSpan
, findInTrivia, getInnermostNodeForTie, context.CancellationToken);
Microsoft.CodeAnalysis.Workspaces (8)
src\roslyn\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.
178
Contract.ThrowIfFalse(context.
FilterSpan
.HasValue);
179
return context.FilterTree.FindNode(context.
FilterSpan
, findInTrivia, getInnermostNodeForTie, context.CancellationToken);
Roslyn.Diagnostics.Analyzers (8)
src\roslyn\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.
178
Contract.ThrowIfFalse(context.
FilterSpan
.HasValue);
179
return context.FilterTree.FindNode(context.
FilterSpan
, findInTrivia, getInnermostNodeForTie, context.CancellationToken);