Closed kyleherzog closed 7 years ago
I had a hard time figuring how to highlight a the first line of the method.. I realized I could simply put the error on one of the attribute preferably the one describing the HTTP verb [HttpPost], [HttpPut], etc.
Here is a preview :
I'm using VS2017 and when SG0016 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 method name or return type.