11 references to GetResult
Microsoft.CodeAnalysis (1)
Symbols\WellKnownMemberNames.cs (1)
351public const string GetResult = nameof(GetResult);
Microsoft.CodeAnalysis.CodeStyle (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ISymbolExtensions.cs (1)
701return methods.Any(m => m.Name == WellKnownMemberNames.GetResult && !m.Parameters.Any());
Microsoft.CodeAnalysis.CSharp (5)
Binder\Binder_Await.cs (3)
438getAwaiterGetResultCall = MakeInvocationExpression(node, awaiterExpression, WellKnownMemberNames.GetResult, ImmutableArray<BoundExpression>.Empty, diagnostics); 449Error(diagnostics, ErrorCode.ERR_NoSuchMember, node, awaiterType, WellKnownMemberNames.GetResult); 459Error(diagnostics, ErrorCode.ERR_NoSuchMember, node, awaiterType, WellKnownMemberNames.GetResult);
Binder\Binder_Expressions.cs (1)
8061(node.Kind() == SyntaxKind.AwaitExpression && plainName == WellKnownMemberNames.GetResult) ||
Lowering\AsyncRewriter\AsyncMethodToStateMachineRewriter.cs (1)
390WellKnownMemberNames.GetResult,
Microsoft.CodeAnalysis.VisualBasic (3)
Binding\Binder_Expressions.vb (2)
4722getResult = BindLateBoundMemberAccess(node, WellKnownMemberNames.GetResult, Nothing, awaiterInstancePlaceholder, awaiterInstancePlaceholder.Type, 4835LookupMember(lookupResult, awaiterInstancePlaceholder.Type, WellKnownMemberNames.GetResult, 0,
Symbols\Source\SynthesizedEntryPointSymbol.vb (1)
39GetRequiredMethod(getAwaiterMethod.ReturnType, WellKnownMemberNames.GetResult, diagnostics))
Microsoft.CodeAnalysis.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ISymbolExtensions.cs (1)
701return methods.Any(m => m.Name == WellKnownMemberNames.GetResult && !m.Parameters.Any());