1 reference to GetAncestorsOrThis
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
src\Analyzers\CSharp\Analyzers\QualifyMemberAccess\CSharpQualifyMemberAccessDiagnosticAnalyzer.cs (1)
65
=> declarationSyntax.
GetAncestorsOrThis
(n => n.IsKind(SyntaxKind.FieldDeclaration) && n.Contains(node)).Any();