1 write to GetResult
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
2137this.GetResult = getResult;
18 references to GetResult
Microsoft.CodeAnalysis.CSharp (18)
Binder\Binder_Await.cs (1)
41TypeSymbol awaitExpressionType = (info.GetResult ?? info.RuntimeAsyncAwaitCall?.Method)?.ReturnType ?? (hasErrors ? CreateErrorType() : Compilation.DynamicType);
Binder\ForEachLoopBinder.cs (1)
266if (!hasErrors && (awaitInfo.GetResult ?? awaitInfo.RuntimeAsyncAwaitCall?.Method)?.ReturnType.SpecialType != SpecialType.System_Boolean)
BoundTree\BoundAwaitableInfo.cs (2)
23Debug.Assert(GetResult is null); 30Debug.Assert(GetResult is not null);
Compilation\MemberSemanticModel.cs (1)
933getResult: awaitableInfo.GetResult.GetPublicSymbol(),
FlowAnalysis\NullableWalker.cs (2)
12252if (node.Type.IsValueType || node.HasErrors || awaitableInfo.GetResult is null) 12261var getResult = awaitableInfo.GetResult;
Generated\BoundNodes.xml.Generated.cs (4)
2159if (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) 11182MethodSymbol? getResult = this.VisitMethodSymbol(node.GetResult); 13120MethodSymbol? getResult = GetUpdatedSymbol(node, node.GetResult); 15621new TreeDumperNode("getResult", node.GetResult, null),
Lowering\AsyncRewriter\AsyncMethodToStateMachineRewriter.cs (1)
366MethodSymbol getResult = VisitMethodSymbol(node.AwaitableInfo.GetResult);
Lowering\AsyncRewriter\RuntimeAsyncRewriter.cs (1)
149var getResultMethod = awaitableInfo.GetResult;
Lowering\BoundTreeToDifferentEnclosingContextRewriter.cs (1)
133var getResult = VisitMethodSymbol(node.GetResult);
Lowering\LocalRewriter\LocalRewriter_ForEachStatement.cs (3)
227Debug.Assert(awaitableInfo is { GetResult: not null } or { RuntimeAsyncAwaitCall: not null }); 234rewrittenCondition = RewriteAwaitExpression(forEachSyntax, rewrittenCondition, awaitableInfo, (awaitableInfo.GetResult ?? awaitableInfo.RuntimeAsyncAwaitCall!.Method)!.ReturnType, debugInfo, used: true); 477TypeSymbol awaitExpressionType = disposeAwaitableInfoOpt.GetResult?.ReturnType ?? _compilation.DynamicType;
Lowering\LocalRewriter\LocalRewriter_UsingStatement.cs (1)
480TypeSymbol awaitExpressionType = awaitOpt.GetResult?.ReturnType ?? _compilation.DynamicType;