2 overrides of IsAsyncSupportingFunctionSyntax
Microsoft.CodeAnalysis.CSharp.Features (1)
CSharpRemoveAsyncModifierCodeFixProvider.cs (1)
32
protected override bool
IsAsyncSupportingFunctionSyntax
(SyntaxNode node)
Microsoft.CodeAnalysis.VisualBasic.Features (1)
VisualBasicRemoveAsyncModifierCodeFixProvider.vb (1)
30
Protected Overrides Function
IsAsyncSupportingFunctionSyntax
(node As SyntaxNode) As Boolean
3 references to IsAsyncSupportingFunctionSyntax
Microsoft.CodeAnalysis.Features (3)
AbstractRemoveAsyncModifierCodeFixProvider.cs (3)
38
var node = token.GetAncestor(
IsAsyncSupportingFunctionSyntax
);
78
var node = token.GetAncestor(
IsAsyncSupportingFunctionSyntax
);
192
var returns = node.DescendantNodes(n => n == node || !
IsAsyncSupportingFunctionSyntax
(n)).OfType<TReturnStatementSyntax>();