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