1 write to _lspMiscellaneousFilesWorkspaceProvider
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
Workspaces\LspWorkspaceManager.cs (1)
80
_lspMiscellaneousFilesWorkspaceProvider
= lspMiscellaneousFilesWorkspace;
10 references to _lspMiscellaneousFilesWorkspaceProvider
Microsoft.CodeAnalysis.LanguageServer.Protocol (10)
Workspaces\LspWorkspaceManager.cs (10)
156
if (
_lspMiscellaneousFilesWorkspaceProvider
is not null)
160
await
_lspMiscellaneousFilesWorkspaceProvider
.TryRemoveMiscellaneousDocumentAsync(uri).ConfigureAwait(false);
259
if (
_lspMiscellaneousFilesWorkspaceProvider
is not null)
263
if (documents.Length > 1 && await
_lspMiscellaneousFilesWorkspaceProvider
.IsMiscellaneousFilesDocumentAsync(document, cancellationToken).ConfigureAwait(false))
271
if (
_lspMiscellaneousFilesWorkspaceProvider
is not null && !await
_lspMiscellaneousFilesWorkspaceProvider
.IsMiscellaneousFilesDocumentAsync(document, cancellationToken).ConfigureAwait(false))
275
await
_lspMiscellaneousFilesWorkspaceProvider
.TryRemoveMiscellaneousDocumentAsync(uri).ConfigureAwait(false);
301
if (_trackedDocuments.TryGetValue(uri, out var trackedDocument) &&
_lspMiscellaneousFilesWorkspaceProvider
is not null)
305
var miscDocument = await
_lspMiscellaneousFilesWorkspaceProvider
.AddMiscellaneousDocumentAsync(uri, trackedDocument.Text, trackedDocument.LanguageId, _logger).ConfigureAwait(false);
589
return _manager.
_lspMiscellaneousFilesWorkspaceProvider
!.IsMiscellaneousFilesDocumentAsync(document, CancellationToken.None);