5 references to FirstAncestorOrSelf
Microsoft.CodeAnalysis (1)
Syntax\SyntaxNode.cs (1)
971
!.
FirstAncestorOrSelf
<SyntaxNode, TextSpan>((a, span) => a.FullSpan.Contains(span), span);
Microsoft.CodeAnalysis.CSharp.Features (1)
SignatureHelp\ElementAccessExpressionSignatureHelpProvider.cs (1)
390
var conditionalAccess = elementBindingExpression.
FirstAncestorOrSelf
<ConditionalAccessExpressionSyntax, ElementBindingExpressionSyntax>(
Microsoft.CodeAnalysis.Features (1)
AddImport\AbstractAddImportFeatureService.cs (1)
651
=> node.
FirstAncestorOrSelf
<SyntaxNode, ISyntaxFacts>((n, syntaxFactsService) => syntaxFactsService.IsAwaitExpression(n), syntaxFactsService);
Microsoft.CodeAnalysis.Workspaces (2)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxEditorExtensions.cs (2)
202
return node.
FirstAncestorOrSelf
<SyntaxNode, ISyntaxFactsService>(
212
return node.
FirstAncestorOrSelf
<SyntaxNode, ISyntaxFactsService>(