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
Rule SA1409 (RemoveUnnecessaryCode) has two characteristics which make it a particularly poor rule for StyleCopAnalyzers:
It is poorly defined (what is or is not "necessary"?)
It is largely a semantic rule as opposed to a syntax-based style rule
I propose rule SA1409 be permanently disabled, and allow other tools which focus on semantics (e.g. a future "FxCopAnalyzers") to pick up this diagnostic at a later time.
Activity
Noryoko commentedon Jul 26, 2015
I agree. This should be handled by something like FxCopAnalyzers.
pdelvo commentedon Jul 26, 2015
👍
Permanently disable semantic rule SA1409 (RemoveUnnecessaryCode)