1 write to GetResult
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
2137
this.
GetResult
= getResult;
18 references to GetResult
Microsoft.CodeAnalysis.CSharp (18)
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 (2)
23
Debug.Assert(
GetResult
is null);
30
Debug.Assert(
GetResult
is not null);
Compilation\MemberSemanticModel.cs (1)
933
getResult: awaitableInfo.
GetResult
.GetPublicSymbol(),
FlowAnalysis\NullableWalker.cs (2)
12252
if (node.Type.IsValueType || node.HasErrors || awaitableInfo.
GetResult
is null)
12261
var getResult = awaitableInfo.
GetResult
;
Generated\BoundNodes.xml.Generated.cs (4)
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)
11182
MethodSymbol? getResult = this.VisitMethodSymbol(node.
GetResult
);
13120
MethodSymbol? getResult = GetUpdatedSymbol(node, node.
GetResult
);
15621
new TreeDumperNode("getResult", node.
GetResult
, null),
Lowering\AsyncRewriter\AsyncMethodToStateMachineRewriter.cs (1)
366
MethodSymbol getResult = VisitMethodSymbol(node.AwaitableInfo.
GetResult
);
Lowering\AsyncRewriter\RuntimeAsyncRewriter.cs (1)
149
var getResultMethod = awaitableInfo.
GetResult
;
Lowering\BoundTreeToDifferentEnclosingContextRewriter.cs (1)
133
var getResult = VisitMethodSymbol(node.
GetResult
);
Lowering\LocalRewriter\LocalRewriter_ForEachStatement.cs (3)
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);
477
TypeSymbol awaitExpressionType = disposeAwaitableInfoOpt.
GetResult
?.ReturnType ?? _compilation.DynamicType;
Lowering\LocalRewriter\LocalRewriter_UsingStatement.cs (1)
480
TypeSymbol awaitExpressionType = awaitOpt.
GetResult
?.ReturnType ?? _compilation.DynamicType;