1 write to GetResult
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
2147
this.
GetResult
= getResult;
15 references to GetResult
Microsoft.CodeAnalysis.CSharp (15)
Binder\Binder_Await.cs (1)
40
TypeSymbol awaitExpressionType = info.
GetResult
?.ReturnType ?? (hasErrors ? CreateErrorType() : Compilation.DynamicType);
Binder\ForEachLoopBinder.cs (1)
258
if (!hasErrors && awaitInfo.
GetResult
?.ReturnType.SpecialType != SpecialType.System_Boolean)
Compilation\MemberSemanticModel.cs (1)
932
getResult: awaitableInfo.
GetResult
.GetPublicSymbol(),
FlowAnalysis\NullableWalker.cs (2)
11435
if (node.Type.IsValueType || node.HasErrors || awaitableInfo.
GetResult
is null)
11444
var getResult = awaitableInfo.
GetResult
;
Generated\BoundNodes.xml.Generated.cs (4)
2161
if (awaitableInstancePlaceholder != this.AwaitableInstancePlaceholder || isDynamic != this.IsDynamic || getAwaiter != this.GetAwaiter || !Symbols.SymbolEqualityComparer.ConsiderEverything.Equals(isCompleted, this.IsCompleted) || !Symbols.SymbolEqualityComparer.ConsiderEverything.Equals(getResult, this.
GetResult
))
11119
return node.Update(awaitableInstancePlaceholder, node.IsDynamic, getAwaiter, node.IsCompleted, node.
GetResult
);
12954
MethodSymbol? getResult = GetUpdatedSymbol(node, node.
GetResult
);
15444
new TreeDumperNode("getResult", node.
GetResult
, null),
Lowering\AsyncRewriter\AsyncMethodToStateMachineRewriter.cs (1)
351
MethodSymbol getResult = VisitMethodSymbol(node.AwaitableInfo.
GetResult
);
Lowering\LocalRewriter\LocalRewriter_ForEachStatement.cs (3)
227
Debug.Assert(awaitableInfo is {
GetResult
: { } });
234
rewrittenCondition = RewriteAwaitExpression(forEachSyntax, rewrittenCondition, awaitableInfo, awaitableInfo.
GetResult
.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;
Lowering\MethodToClassRewriter.cs (1)
468
var getResult = VisitMethodSymbol(node.
GetResult
);