2 references to TryGetRelevantNodeAsync
Microsoft.CodeAnalysis.Features (2)
ConvertAnonymousType\AbstractConvertAnonymousTypeCodeRefactoringProvider.cs (1)
24
var anonymousObject = await document.
TryGetRelevantNodeAsync
<TAnonymousObjectCreationExpressionSyntax>(
InvertConditional\AbstractInvertConditionalCodeRefactoringProvider.cs (1)
41
=> await document.
TryGetRelevantNodeAsync
<TConditionalExpressionSyntax>(span, cancellationToken).ConfigureAwait(false);