Use EventArgs.Empty

Proprietary

Replace new EventArgs() with EventArgs.Empty. The static EventArgs.Empty field avoids unnecessary allocations.

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

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