13 references to _completionSource
Microsoft.CodeAnalysis.LanguageServer.Protocol (13)
src\LanguageServer\Microsoft.CommonLanguageServerProtocol.Framework\QueueItem.cs (13)
57
cancellationToken.Register(() =>
_completionSource
.TrySetCanceled(cancellationToken));
84
return (queueItem, queueItem.
_completionSource
.Task);
108
/// Deserializes the request into the concrete type. If the deserialization fails we will fail the request and call TrySetException on the <see cref="
_completionSource
"/>
139
_completionSource
.TrySetException(ex);
184
_completionSource
.TrySetException(new InvalidOperationException($"Unable to create request context for {MethodName}"));
194
_completionSource
.TrySetResult(result);
200
_completionSource
.TrySetResult(result);
207
_completionSource
.TrySetResult((TResponse)(object)NoValue.Instance);
214
_completionSource
.TrySetResult((TResponse)(object)NoValue.Instance);
229
_completionSource
.TrySetCanceled(ex.CancellationToken);
249
_completionSource
.TrySetException(ex);
258
await
_completionSource
.Task.ConfigureAwait(false);
273
_completionSource
.TrySetException(exception);