ErrorProne.NET icon indicating copy to clipboard operation
ErrorProne.NET copied to clipboard

EPC12 creates diagnostic with description "bar"

Open shuebner opened this issue 2 years ago • 1 comments

Version: 0.1.2 and 0.4.0-beta.1 alike

When only observing the Message property of an exception, VS shows a strange message "bar" from EPC12: image

This can even show up in the error list: image

Also note that in the first screenshot, we get two diagnostics. The second one references a non-existing line number 22.

Could this be some foo/bar/baz code left behind somewhere? I already searched for "bar" in this repo and the roslyn and roslyn-analyzer repos, but could not find any plausible usages.

shuebner avatar Oct 25 '21 06:10 shuebner

Thanks for reporiting this. Its already being fixed in the master, but I haven't published a new version yet.

SergeyTeplyakov avatar Oct 25 '21 22:10 SergeyTeplyakov

Closing this issue, since the new version was released with the fix.

SergeyTeplyakov avatar Jan 27 '24 01:01 SergeyTeplyakov