diff --git a/src/Razor/src/Microsoft.VisualStudio.LanguageServices.Razor/LanguageClient/Cohost/HtmlRequestInvoker.cs b/src/Razor/src/Microsoft.VisualStudio.LanguageServices.Razor/LanguageClient/Cohost/HtmlRequestInvoker.cs index 09a5f6f4a49..e1e36f16619 100644 --- a/src/Razor/src/Microsoft.VisualStudio.LanguageServices.Razor/LanguageClient/Cohost/HtmlRequestInvoker.cs +++ b/src/Razor/src/Microsoft.VisualStudio.LanguageServices.Razor/LanguageClient/Cohost/HtmlRequestInvoker.cs @@ -100,9 +100,6 @@ private void UpdateTextDocumentUri(TRequest request, DocumentUri uri, ITextDocumentParams textDocumentParams => textDocumentParams.TextDocument, // VSInternalDiagnosticParams doesn't implement the interface because the TextDocument property is nullable VSInternalDiagnosticParams vsInternalDiagnosticParams => vsInternalDiagnosticParams.TextDocument, - // We don't implement the endpoint that uses this, but it's the only other thing, at time of writing, in the LSP - // protocol library that isn't handled by the above two cases. - VSInternalRelatedDocumentParams vsInternalRelatedDocumentParams => vsInternalRelatedDocumentParams.TextDocument, VSCodeActionParams vsCodeActionParams => vsCodeActionParams.TextDocument, _ => null };