dotnet / dotnet/project-system

Investigate LanguageServiceErrorListProvider's behavior of "zero'ing" negative and zero column and line numbers

Open
#145 0 comments 0 reactions 1 assignee Claimed by @davkean View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.