11 references to DotAwaitContext
Microsoft.CodeAnalysis.Features (11)
Completion\Providers\AbstractAwaitCompletionProvider.cs (11)
91var dotAwaitContext = GetDotAwaitKeywordContext(syntaxContext, cancellationToken); 92if (!isAwaitKeywordContext && dotAwaitContext == DotAwaitContext.None) 120Contract.ThrowIfTrue(dotAwaitContext == DotAwaitContext.None); 131if (dotAwaitContext == DotAwaitContext.AwaitAndConfigureAwait) 248/// <see cref="DotAwaitContext.None"/>, if await can not be suggested for the expression left of the dot. 249/// <see cref="DotAwaitContext.AwaitOnly"/>, if await should be suggested for the expression left of the dot, but ConfigureAwait(false) not. 250/// <see cref="DotAwaitContext.AwaitAndConfigureAwait"/>, if await should be suggested for the expression left of the dot and ConfigureAwait(false). 252private DotAwaitContext GetDotAwaitKeywordContext(SyntaxContext syntaxContext, CancellationToken cancellationToken) 275? DotAwaitContext.AwaitAndConfigureAwait 276: DotAwaitContext.AwaitOnly; 282return DotAwaitContext.None;