Skip to content

Commit 3522930

Browse files
authored
Remove unused related document parameter handling (#12513)
Removed unused VSInternalRelatedDocumentParams from handling.
1 parent 52695a9 commit 3522930

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/Razor/src/Microsoft.VisualStudio.LanguageServices.Razor/LanguageClient/Cohost/HtmlRequestInvoker.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -100,9 +100,6 @@ private void UpdateTextDocumentUri<TRequest>(TRequest request, DocumentUri uri,
100100
ITextDocumentParams textDocumentParams => textDocumentParams.TextDocument,
101101
// VSInternalDiagnosticParams doesn't implement the interface because the TextDocument property is nullable
102102
VSInternalDiagnosticParams vsInternalDiagnosticParams => vsInternalDiagnosticParams.TextDocument,
103-
// We don't implement the endpoint that uses this, but it's the only other thing, at time of writing, in the LSP
104-
// protocol library that isn't handled by the above two cases.
105-
VSInternalRelatedDocumentParams vsInternalRelatedDocumentParams => vsInternalRelatedDocumentParams.TextDocument,
106103
VSCodeActionParams vsCodeActionParams => vsCodeActionParams.TextDocument,
107104
_ => null
108105
};

0 commit comments

Comments
 (0)