Find Dictionary/HashSet with struct key type

Proprietary

Detect Dictionary or HashSet usage with struct types as keys. Structs without overridden Equals/GetHashCode use slow reflection-based comparison.

OpenRewrite.Recipes.CSharp.CodeQuality.Performance.FindStructWithDefaultEqualsAsKey
mod run . --recipe=OpenRewrite.Recipes.CSharp.CodeQuality.Performance.FindStructWithDefaultEqualsAsKey

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