CS1525 "Invalid expression term '/'" at wrong line when there is other comments prior to it #31774
Labels
Area-Compilers
Bug
Concept-Diagnostic Clarity
The issues deals with the ease of understanding of errors and warnings.
help wanted
The issue is "up for grabs" - add a comment if you are interested in working on it
Milestone
Version Used:
Visual Studio 2017 Community 15.9.4 with ReSharper Ultimate 2018.2.3
Visual Studio 2019 16.0.0 Preview 1.1
Steps to Reproduce:
Expected Behavior:
CS1525 "Invalid expression term '/'" error should be displayed at the line where the code with incomplete comment header is (i.e. division operator with nothing in front of it?)
Actual Behavior:
(Ignore the red squiggle on the right side, at line 33; that one's ReSharper's warning)
The warning is displayed at the end of the line prior to the comment.
The text was updated successfully, but these errors were encountered: