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