11 references to DotAwaitContext
Microsoft.CodeAnalysis.Features (11)
Completion\Providers\AbstractAwaitCompletionProvider.cs (11)
91
var
dotAwaitContext = GetDotAwaitKeywordContext(syntaxContext, cancellationToken);
92
if (!isAwaitKeywordContext && dotAwaitContext ==
DotAwaitContext
.None)
125
Contract.ThrowIfTrue(dotAwaitContext ==
DotAwaitContext
.None);
136
if (dotAwaitContext ==
DotAwaitContext
.AwaitAndConfigureAwait)
259
/// <see cref="
DotAwaitContext
.None"/>, if await can not be suggested for the expression left of the dot.
260
/// <see cref="
DotAwaitContext
.AwaitOnly"/>, if await should be suggested for the expression left of the dot, but ConfigureAwait(false) not.
261
/// <see cref="
DotAwaitContext
.AwaitAndConfigureAwait"/>, if await should be suggested for the expression left of the dot and ConfigureAwait(false).
263
private
DotAwaitContext
GetDotAwaitKeywordContext(SyntaxContext syntaxContext, CancellationToken cancellationToken)
286
?
DotAwaitContext
.AwaitAndConfigureAwait
287
:
DotAwaitContext
.AwaitOnly;
293
return
DotAwaitContext
.None;