2 implementations of IsMiscellaneousFilesDocumentAsync
Microsoft.CodeAnalysis.LanguageServer (1)
FileBasedPrograms\FileBasedProgramsProjectSystem.cs (1)
60
public async ValueTask<bool>
IsMiscellaneousFilesDocumentAsync
(TextDocument document, CancellationToken cancellationToken)
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
Workspaces\LspMiscellaneousFilesWorkspaceProvider.cs (1)
33
public ValueTask<bool>
IsMiscellaneousFilesDocumentAsync
(TextDocument document, CancellationToken cancellationToken)
3 references to IsMiscellaneousFilesDocumentAsync
Microsoft.CodeAnalysis.LanguageServer.Protocol (3)
Workspaces\LspWorkspaceManager.cs (3)
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))
589
return _manager._lspMiscellaneousFilesWorkspaceProvider!.
IsMiscellaneousFilesDocumentAsync
(document, CancellationToken.None);