dotnet-security-guard / roslyn-security-guard

Roslyn analyzers that aim to help security audit on .NET applications.
https://dotnet-security-guard.github.io
GNU Lesser General Public License v3.0
208 stars 38 forks source link

Limit Highlighting to Just the ValidateInput Attribute for SG0017 #75

Closed kyleherzog closed 7 years ago

kyleherzog commented 7 years ago

I'm using VS2017 and when SG0017 is flagged I get the entire function highlighted with the green underline. This is too much highlighting and makes it hard to see other issues highlighted within the method. It would be more appropriate to highlight just the ValidateInput(false) attribute.

h3xstream commented 7 years ago

Apparently this was already fix in https://github.com/dotnet-security-guard/roslyn-security-guard/commit/96f082aa41878c827ae56d94ba269b134153894e

input

h3xstream commented 7 years ago

The code merged actually refer to #74 (similar issue)