15 references to GetAwaiter
Microsoft.CodeAnalysis (1)
Symbols\WellKnownMemberNames.cs (1)
339public const string GetAwaiter = nameof(GetAwaiter);
Microsoft.CodeAnalysis.CodeStyle (2)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ISymbolExtensions.cs (2)
664name: WellKnownMemberNames.GetAwaiter, 671=> symbol.Name == WellKnownMemberNames.GetAwaiter &&
Microsoft.CodeAnalysis.CSharp (4)
Binder\Binder_Await.cs (1)
333getAwaiterCall = MakeInvocationExpression(node, expression, WellKnownMemberNames.GetAwaiter, ImmutableArray<BoundExpression>.Empty, diagnostics);
Binder\Binder_Expressions.cs (1)
8083return methodName == WellKnownMemberNames.GetAwaiter && ImplementsWinRTAsyncInterface(receiver);
Binder\Semantics\OverloadResolution\OverloadResolutionResult.cs (1)
668else if (nodeOpt?.Kind() == SyntaxKind.AwaitExpression && symbol.Name == WellKnownMemberNames.GetAwaiter)
Lowering\AsyncRewriter\AsyncMethodToStateMachineRewriter.cs (1)
356MakeCallMaybeDynamic(expression, null, WellKnownMemberNames.GetAwaiter) :
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
Rename\CSharpRenameRewriterLanguageService.cs (1)
990string.Compare(renameSymbol.Name, WellKnownMemberNames.GetAwaiter, StringComparison.OrdinalIgnoreCase) == 0 ||
Microsoft.CodeAnalysis.Features (1)
AddImport\SymbolReferenceFinder.cs (1)
475searchScope, WellKnownMemberNames.GetAwaiter, type,
Microsoft.CodeAnalysis.VisualBasic (3)
Binding\Binder_Expressions.vb (2)
4709getAwaiter = BindLateBoundMemberAccess(node, WellKnownMemberNames.GetAwaiter, Nothing, awaitableInstancePlaceholder, operand.Type, 4736LookupMember(lookupResult, awaitableInstancePlaceholder.Type, WellKnownMemberNames.GetAwaiter, 0, LookupOptions.AllMethodsOfAnyArity, useSiteInfo)
Symbols\Source\SynthesizedEntryPointSymbol.vb (1)
36GetRequiredMethod(taskType, WellKnownMemberNames.GetAwaiter, diagnostics))
Microsoft.CodeAnalysis.Workspaces (3)
FindSymbols\FindReferences\Finders\OrdinaryMethodReferenceFinder.cs (1)
110=> methodSymbol.Name == WellKnownMemberNames.GetAwaiter;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ISymbolExtensions.cs (2)
664name: WellKnownMemberNames.GetAwaiter, 671=> symbol.Name == WellKnownMemberNames.GetAwaiter &&