1 instantiation of BufferedProgress
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
Handler\BufferedProgress.cs (1)
71=> new BufferedProgress<T>(progress);
19 references to BufferedProgress
Microsoft.CodeAnalysis.ExternalAccess.Razor (1)
Cohost\Handlers\FindAllReferences.cs (1)
26var progress = BufferedProgress.Create<SumType<VSInternalReferenceItem, Location>[]>(progress: null);
Microsoft.CodeAnalysis.LanguageServer.Protocol (16)
Handler\BufferedProgress.cs (4)
70public static BufferedProgress<T> Create<T>(IProgress<T>? progress) 73public static BufferedProgress<TIn> Create<TIn, TOut>(IProgress<TOut>? progress, Func<TIn, TOut> transform) 79public static void Report<T>(this BufferedProgress<T[]> progress, T item) 84public static T[]? GetFlattenedValues<T>(this BufferedProgress<T[]> progress)
Handler\Diagnostics\AbstractPullDiagnosticHandler.cs (3)
92protected abstract TReturn? CreateReturn(BufferedProgress<TReport> progress); 277BufferedProgress<TReport> progress, 300private void HandleRemovedDocuments(RequestContext context, HashSet<PreviousPullResult> removedPreviousResults, BufferedProgress<TReport> progress)
Handler\Diagnostics\DocumentPullDiagnosticHandler.cs (1)
67protected override VSInternalDiagnosticReport[]? CreateReturn(BufferedProgress<VSInternalDiagnosticReport[]> progress)
Handler\Diagnostics\Public\PublicDocumentPullDiagnosticsHandler.cs (1)
65protected override DocumentDiagnosticReport? CreateReturn(BufferedProgress<DocumentDiagnosticPartialReport> progress)
Handler\Diagnostics\Public\PublicWorkspacePullDiagnosticsHandler.cs (1)
79protected override WorkspaceDiagnosticReport? CreateReturn(BufferedProgress<WorkspaceDiagnosticPartialReport> progress)
Handler\Diagnostics\WorkspacePullDiagnosticHandler.cs (1)
61protected override VSInternalWorkspaceDiagnosticReport[]? CreateReturn(BufferedProgress<VSInternalWorkspaceDiagnosticReport[]> progress)
Handler\References\FindAllReferencesHandler.cs (1)
62using var progress = BufferedProgress.Create(referenceParams.PartialResultToken);
Handler\SpellCheck\AbstractSpellCheckingHandler.cs (2)
70using var progress = BufferedProgress.Create(requestParams.PartialResultToken); 205RequestContext context, ImmutableArray<PreviousPullResult> previousResults, BufferedProgress<TReport[]> progress, CancellationToken cancellationToken)
Handler\Symbols\WorkspaceSymbolsHandler.cs (2)
56using var progress = BufferedProgress.Create( 74BufferedProgress<SymbolInformation[]> progress)
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (2)
References\FindAllReferencesHandlerTests.cs (1)
83using var progress = BufferedProgress.Create<object>(null);
Symbols\WorkspaceSymbolsTests.cs (1)
75using var progress = BufferedProgress.Create<LSP.SumType<LSP.SymbolInformation[], LSP.WorkspaceSymbol[]>>(null);