12 references to ProgressReportParams
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (12)
WorkDoneProgressTests.cs (12)
49
var
end = await clientCallbackTarget.WaitForEndAsync();
88
var
report = await clientCallbackTarget.WaitForReportAsync();
228
private readonly TaskCompletionSource<
ProgressReportParams
> _reportSource = new(TaskCreationOptions.RunContinuationsAsynchronously);
229
private readonly TaskCompletionSource<
ProgressReportParams
> _endSource = new(TaskCreationOptions.RunContinuationsAsynchronously);
230
private readonly TaskCompletionSource<
ProgressReportParams
> _cancelledEndSource = new(TaskCreationOptions.RunContinuationsAsynchronously);
231
private readonly List<
ProgressReportParams
> _progressReports = [];
248
var
progressReport = progressParams.Deserialize<
ProgressReportParams
>(ProtocolConversions.LspJsonSerializerOptions);
271
public async Task<
ProgressReportParams
> WaitForReportAsync()
274
public async Task<
ProgressReportParams
> WaitForEndAsync()
277
public async Task<
ProgressReportParams
> WaitForServerCancelledAsync()
280
public ImmutableArray<
ProgressReportParams
> GetProgressReports()