2 references to ShouldAnalyzeSpan
Microsoft.CodeAnalysis.CodeStyle (2)
src\Analyzers\Core\Analyzers\UseAutoProperty\AbstractUseAutoPropertyAnalyzer.cs (1)
212
if (node is TPropertyDeclaration or TFieldDeclaration && context.
ShouldAnalyzeSpan
(node.Span, node.SyntaxTree))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\AnalysisContextExtensions.cs (1)
55
=> location.SourceTree != null && context.
ShouldAnalyzeSpan
(location.SourceSpan, location.SourceTree);