Use Array.Empty<T>() instead of new T[0]

Proprietary

Use Array.Empty<T>() instead of allocating empty arrays.

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

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