2 implementations of AddMiscellaneousDocumentAsync
Microsoft.CodeAnalysis.LanguageServer (1)
FileBasedPrograms\FileBasedProgramsProjectSystem.cs (1)
69public async ValueTask<TextDocument?> AddMiscellaneousDocumentAsync(DocumentUri uri, SourceText documentText, string languageId, ILspLogger logger)
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
Workspaces\LspMiscellaneousFilesWorkspaceProvider.cs (1)
45public ValueTask<TextDocument?> AddMiscellaneousDocumentAsync(DocumentUri uri, SourceText documentText, string languageId, ILspLogger logger)
2 references to AddMiscellaneousDocumentAsync
Microsoft.CodeAnalysis.LanguageServer.Protocol (2)
Workspaces\ILspMiscellaneousFilesWorkspaceProvider.cs (1)
23/// Returns whether the document is one that came from a previous call to <see cref="AddMiscellaneousDocumentAsync"/>.
Workspaces\LspWorkspaceManager.cs (1)
305var miscDocument = await _lspMiscellaneousFilesWorkspaceProvider.AddMiscellaneousDocumentAsync(uri, trackedDocument.Text, trackedDocument.LanguageId, _logger).ConfigureAwait(false);