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