Find static event with non-null sender

Proprietary

Detect static event invocations that pass this as the sender. Static events should use null as the sender.

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

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