Skip to content

Commit fa12f2d

Browse files
authored
Fix wrap with tag under cohosting (#12049)
2 parents bf3d9c9 + 299e153 commit fa12f2d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/Razor/src/Microsoft.VisualStudio.LanguageServices.Razor/LanguageClient/WrapWithTag/VSInternalWrapWithTagParams.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ namespace Microsoft.VisualStudio.Razor.LanguageClient.WrapWithTag;
1111
/// Matches corresponding class in Web Tools' Html language server
1212
/// </summary>
1313
[DataContract]
14-
internal class VSInternalWrapWithTagParams
14+
internal class VSInternalWrapWithTagParams : ITextDocumentParams
1515
{
1616
public VSInternalWrapWithTagParams(LspRange range,
1717
string tagName,
@@ -24,6 +24,8 @@ public VSInternalWrapWithTagParams(LspRange range,
2424
TextDocument = textDocument;
2525
}
2626

27+
TextDocumentIdentifier ITextDocumentParams.TextDocument => TextDocument;
28+
2729
/// <summary>
2830
/// Gets or sets the identifier for the text document to be operate on.
2931
/// </summary>

0 commit comments

Comments
 (0)