1 write to FilterTree
Microsoft.CodeAnalysis (1)
DiagnosticAnalyzer\DiagnosticAnalysisContext.cs (1)
917FilterTree = filterTree;
19 references to FilterTree
Microsoft.CodeAnalysis (3)
DiagnosticAnalyzer\DiagnosticAnalysisContext.cs (3)
891/// Optional filter span within the <see cref="FilterTree"/> for which to compute diagnostics. 892/// <see langword="null"/> if we are analyzing the entire <see cref="FilterTree"/> 895/// <remarks>This property is guaranteed to be <see langword="null"/> if <see cref="FilterTree"/> is <see langword="null"/>.</remarks>
Microsoft.CodeAnalysis.CodeStyle (6)
src\Analyzers\Core\Analyzers\UseAutoProperty\AbstractUseAutoPropertyAnalyzer.cs (1)
207Contract.ThrowIfNull(context.FilterTree);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\AnalysisContextExtensions.cs (5)
45=> context.FilterTree == null || (context.FilterTree == tree && ShouldAnalyze(context.FilterSpan, span)); 161/// NOTE: This method expects <see cref="SymbolStartAnalysisContext.FilterTree"/> 166Contract.ThrowIfNull(context.FilterTree); 168return context.FilterTree.FindNode(context.FilterSpan, findInTrivia, getInnermostNodeForTie, context.CancellationToken);
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
src\Analyzers\CSharp\Analyzers\MakeStructMemberReadOnly\CSharpMakeStructMemberReadOnlyAnalyzer.cs (1)
79Contract.ThrowIfNull(context.FilterTree);
Microsoft.CodeAnalysis.CSharp.Features (1)
src\Analyzers\CSharp\Analyzers\MakeStructMemberReadOnly\CSharpMakeStructMemberReadOnlyAnalyzer.cs (1)
79Contract.ThrowIfNull(context.FilterTree);
Microsoft.CodeAnalysis.Features (1)
src\Analyzers\Core\Analyzers\UseAutoProperty\AbstractUseAutoPropertyAnalyzer.cs (1)
207Contract.ThrowIfNull(context.FilterTree);
Microsoft.CodeAnalysis.Test.Utilities (2)
Diagnostics\CommonDiagnosticAnalyzers.cs (2)
3138CallbackFilterTree = startContext.FilterTree; 3142if (startContext.FilterTree != endContext.FilterTree)
Microsoft.CodeAnalysis.Workspaces (5)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\AnalysisContextExtensions.cs (5)
45=> context.FilterTree == null || (context.FilterTree == tree && ShouldAnalyze(context.FilterSpan, span)); 161/// NOTE: This method expects <see cref="SymbolStartAnalysisContext.FilterTree"/> 166Contract.ThrowIfNull(context.FilterTree); 168return context.FilterTree.FindNode(context.FilterSpan, findInTrivia, getInnermostNodeForTie, context.CancellationToken);