dotnet / dotnet/project-system
Investigate LanguageServiceErrorListProvider's behavior of "zero'ing" negative and zero column and line numbers
Open
Parity-Legacy-Feature
Triage-Investigate
- Dominant language
- C#
- Stars
- 1k
- Forks
- 415
- PR merge metrics
- No merged PRs in 30d
Description
LanguageServiceErrorListProvider's adjusts by lines and column's by -1, to account for the Error List's 0-based indexing, but could result in strange behavior:
All these three column/lines numbers will get passed to Roslyn as "0":
```
-1 => 0
0 => 0
1 => 0
```
Need to figure out if this accidently puts line/column numbers on errors/warnings that don't have any.
Contributor guide
Assessment
This issue has not been assessed yet.