dotnet/roslyn
View on GitHubVisual Studio doesn't adjust XML Literal tag when changing tag name
Open
#32,790 opened on Jan 25, 2019
Area-IDELanguage-VBhelp wanted
Repository metrics
- Stars
- (20,414 stars)
- PR merge metrics
- (Avg merge 6d 17h) (256 merged PRs in 30d)
Description
Version Used: Visual Studio 2019 Preview 2
🔗 Originally here: https://devdiv.visualstudio.com/DevDiv/_workitems/edit/132619
Steps to Reproduce:
-
Add the following VB code:
Module Module1 Sub Main() Dim xml = <root> <nam>Name</nam> </root> End Sub End Module -
Change
<nam>to<name>
Expected Behavior:
</nam> changes to </name>
Actual Behavior:
The closing tag is not adjusted.