Do not use dangerous threading methods
ProprietaryAvoid Thread.Abort(), Thread.Suspend(), and Thread.Resume(). These methods are unreliable and can corrupt state.
OpenRewrite. Recipes. CSharp. CodeQuality. Style. FindDangerousThreadingMethodsmod run . --recipe= OpenRewrite. Recipes. CSharp. CodeQuality. Style. FindDangerousThreadingMethodsInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.