1 write to RuntimeAsyncAwaitCall
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
2138
this.
RuntimeAsyncAwaitCall
= runtimeAsyncAwaitCall;
22 references to RuntimeAsyncAwaitCall
Microsoft.CodeAnalysis.CSharp (22)
Binder\Binder_Await.cs (1)
41
TypeSymbol awaitExpressionType = (info.GetResult ?? info.
RuntimeAsyncAwaitCall
?.Method)?.ReturnType ?? (hasErrors ? CreateErrorType() : Compilation.DynamicType);
Binder\ForEachLoopBinder.cs (1)
266
if (!hasErrors && (awaitInfo.GetResult ?? awaitInfo.
RuntimeAsyncAwaitCall
?.Method)?.ReturnType.SpecialType != SpecialType.System_Boolean)
BoundTree\BoundAwaitableInfo.cs (5)
13
if (
RuntimeAsyncAwaitCall
is not null)
15
Debug.Assert(
RuntimeAsyncAwaitCall
.Method.ContainingType.ExtendedSpecialType == InternalSpecialType.System_Runtime_CompilerServices_AsyncHelpers);
18
switch (
RuntimeAsyncAwaitCall
.Method.Name)
34
Debug.Fail($"Unexpected RuntimeAsyncAwaitCall: {
RuntimeAsyncAwaitCall
.Method.Name}");
39
Debug.Assert(GetAwaiter is not null ||
RuntimeAsyncAwaitCall
is not null || IsDynamic || HasErrors);
Compilation\MemberSemanticModel.cs (1)
934
runtimeAwaitMethod: awaitableInfo.
RuntimeAsyncAwaitCall
?.Method.GetPublicSymbol(),
Generated\BoundNodes.xml.Generated.cs (5)
2159
if (awaitableInstancePlaceholder != this.AwaitableInstancePlaceholder || isDynamic != this.IsDynamic || getAwaiter != this.GetAwaiter || !Symbols.SymbolEqualityComparer.ConsiderEverything.Equals(isCompleted, this.IsCompleted) || !Symbols.SymbolEqualityComparer.ConsiderEverything.Equals(getResult, this.GetResult) || runtimeAsyncAwaitCall != this.
RuntimeAsyncAwaitCall
|| runtimeAsyncAwaitCallPlaceholder != this.RuntimeAsyncAwaitCallPlaceholder)
10024
this.Visit(node.
RuntimeAsyncAwaitCall
);
11185
BoundCall? runtimeAsyncAwaitCall = (BoundCall?)this.Visit(node.
RuntimeAsyncAwaitCall
);
13123
BoundCall? runtimeAsyncAwaitCall = (BoundCall?)this.Visit(node.
RuntimeAsyncAwaitCall
);
15622
new TreeDumperNode("runtimeAsyncAwaitCall", null, new TreeDumperNode[] { Visit(node.
RuntimeAsyncAwaitCall
, null) }),
Lowering\AsyncRewriter\AsyncMethodToStateMachineRewriter.cs (1)
350
Debug.Assert(node.AwaitableInfo.
RuntimeAsyncAwaitCall
is null);
Lowering\AsyncRewriter\RuntimeAsyncRewriter.cs (4)
76
var runtimeAsyncAwaitCall = awaitableInfo.
RuntimeAsyncAwaitCall
;
92
var call = Visit(awaitableInfo.
RuntimeAsyncAwaitCall
);
139
Debug.Assert(awaitableInfo.
RuntimeAsyncAwaitCall
is not null);
142
var awaitCall = (BoundCall)Visit(awaitableInfo.
RuntimeAsyncAwaitCall
);
Lowering\BoundTreeToDifferentEnclosingContextRewriter.cs (2)
144
runtimeAsyncAwaitCall = (BoundCall?)this.Visit(node.
RuntimeAsyncAwaitCall
);
149
Debug.Assert(node.
RuntimeAsyncAwaitCall
is null);
Lowering\LocalRewriter\LocalRewriter_ForEachStatement.cs (2)
227
Debug.Assert(awaitableInfo is { GetResult: not null } or {
RuntimeAsyncAwaitCall
: not null });
234
rewrittenCondition = RewriteAwaitExpression(forEachSyntax, rewrittenCondition, awaitableInfo, (awaitableInfo.GetResult ?? awaitableInfo.
RuntimeAsyncAwaitCall
!.Method)!.ReturnType, debugInfo, used: true);