3 references to RewriteAwaitExpression
Microsoft.CodeAnalysis.CSharp (3)
Lowering\LocalRewriter\LocalRewriter_ForEachStatement.cs (2)
234
rewrittenCondition =
RewriteAwaitExpression
(forEachSyntax, rewrittenCondition, awaitableInfo, awaitableInfo.GetResult.ReturnType, debugInfo, used: true);
479
var awaitExpr =
RewriteAwaitExpression
(forEachSyntax, disposeCall, disposeAwaitableInfoOpt, awaitExpressionType, debugInfo, used: false);
Lowering\LocalRewriter\LocalRewriter_UsingStatement.cs (1)
481
disposeCall =
RewriteAwaitExpression
(resourceSyntax, disposeCall, awaitOpt, awaitExpressionType, debugInfo: default, used: false);