Why this matters
Reduces noise and avoids misleading readers and analyzers.
Delete dead code and after-return/throw statements that never execute.
Reduces noise and avoids misleading readers and analyzers.
Side-by-side examples engineers can pattern-match during review.
return x; Console.WriteLine("after return");return x; // removed unreachable linethrow e; DoMore();throw e; // no more codeFrom the same buckets as this rule.