Use EventArgs.Empty instead of null
ProprietaryReplace null with EventArgs.Empty when raising events. Passing null for EventArgs can cause NullReferenceException in event handlers.
OpenRewrite. Recipes. CSharp. CodeQuality. Style. UseEventArgsEmptyForNullmod run . --recipe= OpenRewrite. Recipes. CSharp. CodeQuality. Style. UseEventArgsEmptyForNullInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.