1 write to _lspMiscellaneousFilesWorkspaceProvider
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
Workspaces\LspWorkspaceManager.cs (1)
80
_lspMiscellaneousFilesWorkspaceProvider
= lspMiscellaneousFilesWorkspace;
8 references to _lspMiscellaneousFilesWorkspaceProvider
Microsoft.CodeAnalysis.LanguageServer.Protocol (8)
Workspaces\LspWorkspaceManager.cs (8)
156
if (
_lspMiscellaneousFilesWorkspaceProvider
is not null)
160
await
_lspMiscellaneousFilesWorkspaceProvider
.TryRemoveMiscellaneousDocumentAsync(uri).ConfigureAwait(false);
260
if (
_lspMiscellaneousFilesWorkspaceProvider
is not null)
265
.AnyAsync(async doc => !await
_lspMiscellaneousFilesWorkspaceProvider
.IsMiscellaneousFilesDocumentAsync(doc, cancellationToken).ConfigureAwait(false))
271
var didRemove = await
_lspMiscellaneousFilesWorkspaceProvider
.TryRemoveMiscellaneousDocumentAsync(uri).ConfigureAwait(false);
302
if (_trackedDocuments.TryGetValue(uri, out var trackedDocument) &&
_lspMiscellaneousFilesWorkspaceProvider
is not null)
306
var miscDocument = await
_lspMiscellaneousFilesWorkspaceProvider
.AddMiscellaneousDocumentAsync(uri, trackedDocument.SourceText, trackedDocument.LanguageId, _logger).ConfigureAwait(false);
590
return _manager.
_lspMiscellaneousFilesWorkspaceProvider
!.IsMiscellaneousFilesDocumentAsync(document, CancellationToken.None);