-
Notifications
You must be signed in to change notification settings - Fork 824
Open
Labels
Area-Compiler-Syntaxlexfilter, indentation and parsinglexfilter, indentation and parsingBugImpact-Medium(Internal MS Team use only) Describes an issue with moderate impact on existing code.(Internal MS Team use only) Describes an issue with moderate impact on existing code.
Milestone
Description
If you add a triple slash comment ///
on the same line after a DU case, it will add the information to the next case.
Edit: I've just also noticed this happens on records too
Repro steps

Expected behavior
I would expect it to either add it to the case that it's on the same line as, or ignore it completely
Actual behavior
It adds the comment to the case after
Known workarounds
Move it to it's own line before the case
Related information
This happens on Rider and VSCode (latest)
.NET 8
edgarfgp
Metadata
Metadata
Assignees
Labels
Area-Compiler-Syntaxlexfilter, indentation and parsinglexfilter, indentation and parsingBugImpact-Medium(Internal MS Team use only) Describes an issue with moderate impact on existing code.(Internal MS Team use only) Describes an issue with moderate impact on existing code.
Type
Projects
Status
New