1 override of IsAsyncSupportingFunctionSyntax
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
src\Analyzers\CSharp\CodeFixes\RemoveAsyncModifier\CSharpRemoveAsyncModifierCodeFixProvider.cs (1)
29
protected override bool
IsAsyncSupportingFunctionSyntax
(SyntaxNode node)
3 references to IsAsyncSupportingFunctionSyntax
Microsoft.CodeAnalysis.CodeStyle.Fixes (3)
src\Analyzers\Core\CodeFixes\RemoveAsyncModifier\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>();