3 references to GetAncestorsOrThis
Microsoft.CodeAnalysis.CodeStyle (3)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SyntaxNodeExtensions.cs (3)
79
return node?.
GetAncestorsOrThis
<TNode>().FirstOrDefault();
174
return node.
GetAncestorsOrThis
<SyntaxNode>().Contains(child);
184
set.AddRange(node2.
GetAncestorsOrThis
<SyntaxNode>());