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
The code fix for SA1025 is shown in this scenario:
typeof( string )
Ideally, only the SA1008 and SA1009 code fixes would be presented. Using the SA1025 code fix here leaves the SA1008 and SA1009 warnings around. The user gets very little indication that there were actually two violations.
This is not that bad of a user experience, but it is confusing to have to fix the same spacing twice (even for different reasons). It makes it feel (to the user) like the code fix itself is broken. I was trying to demo this to my team, and it looked like a hiccup.
The SA1008 or SA1009 fixes also fix SA1025 automatically, of course.
The text was updated successfully, but these errors were encountered:
I really want to close this as won't fix because no one writes code like that (and technically the fixes do work even if they did), but I'll wait for a second opinion on that. 😑
The code fix for SA1025 is shown in this scenario:
Ideally, only the SA1008 and SA1009 code fixes would be presented. Using the SA1025 code fix here leaves the SA1008 and SA1009 warnings around. The user gets very little indication that there were actually two violations.
This is not that bad of a user experience, but it is confusing to have to fix the same spacing twice (even for different reasons). It makes it feel (to the user) like the code fix itself is broken. I was trying to demo this to my team, and it looked like a hiccup.
The SA1008 or SA1009 fixes also fix SA1025 automatically, of course.
The text was updated successfully, but these errors were encountered: