Find string.GetHashCode() usage

Proprietary

Detect string.GetHashCode() which is not stable across runs. Use StringComparer.GetHashCode() or string.GetHashCode(StringComparison) instead.

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

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