2 references to WrapExpressionWithTaskFromResult
Microsoft.CodeAnalysis.Features (2)
src\Analyzers\Core\CodeFixes\RemoveAsyncModifier\AbstractRemoveAsyncModifierCodeFixProvider.cs (2)
146
var newExpressionBody =
WrapExpressionWithTaskFromResult
(generator, expressionBody, returnType, knownTypes);
206
var newExpression =
WrapExpressionWithTaskFromResult
(generator, returnExpression, returnType, knownTypes);