10 references to RemoveAsyncModifierHelpers
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (10)
CSharpMakeMethodSynchronousCodeFixProvider.cs (5)
40case AnonymousMethodExpressionSyntax method: return RemoveAsyncModifierHelpers.WithoutAsyncModifier(method); 41case ParenthesizedLambdaExpressionSyntax lambda: return RemoveAsyncModifierHelpers.WithoutAsyncModifier(lambda); 42case SimpleLambdaExpressionSyntax lambda: return RemoveAsyncModifierHelpers.WithoutAsyncModifier(lambda); 49return RemoveAsyncModifierHelpers.WithoutAsyncModifier(method, newReturnType); 55return RemoveAsyncModifierHelpers.WithoutAsyncModifier(localFunction, newReturnType);
CSharpRemoveAsyncModifierCodeFixProvider.cs (5)
56MethodDeclarationSyntax method => RemoveAsyncModifierHelpers.WithoutAsyncModifier(method, method.ReturnType), 57LocalFunctionStatementSyntax localFunction => RemoveAsyncModifierHelpers.WithoutAsyncModifier(localFunction, localFunction.ReturnType), 58AnonymousMethodExpressionSyntax method => AnnotateBlock(generator, RemoveAsyncModifierHelpers.WithoutAsyncModifier(method)), 59ParenthesizedLambdaExpressionSyntax lambda => AnnotateBlock(generator, RemoveAsyncModifierHelpers.WithoutAsyncModifier(lambda)), 60SimpleLambdaExpressionSyntax lambda => AnnotateBlock(generator, RemoveAsyncModifierHelpers.WithoutAsyncModifier(lambda)),