Do not use dangerous threading methods

Proprietary

Avoid Thread.Abort(), Thread.Suspend(), and Thread.Resume(). These methods are unreliable and can corrupt state.

OpenRewrite.Recipes.CSharp.CodeQuality.Style.FindDangerousThreadingMethods
mod run . --recipe=OpenRewrite.Recipes.CSharp.CodeQuality.Style.FindDangerousThreadingMethods

Install it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.