You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CC0091 incorrectly suggests to make mvc actions static.
Example:
[HttpPost]publicstringSayHello(){return"hello";}
This is a correct MVC action. If you make it static, then it will not work as an action.
So, CC0091 should ignore methods with mvc action attributes - HttpPost, HttpGet etc.
The text was updated successfully, but these errors were encountered:
CC0091 incorrectly suggests to make mvc actions static.
Example:
This is a correct MVC action. If you make it static, then it will not work as an action.
So, CC0091 should ignore methods with mvc action attributes - HttpPost, HttpGet etc.
The text was updated successfully, but these errors were encountered: