Use Task.Run for ignored Boolean Action APM calls

Proprietary

Opt-in port of ignored bound Action<bool>.BeginInvoke(argument, null, null) calls on explicit fresh delegate constructions. A private helper captures the receiver and Boolean argument immediately before Task.Run scheduling. Adopt Task scheduling, child-task and unobserved-exception behavior. Leave observed results, callbacks/state, other delegate types, lambdas/queries, named arguments, partial/generic owners, comments and conditional files unchanged. Not composed into version upgrades.

OpenRewrite.Recipes.CSharp.Migration.Dotnet.Net3_0.UseTaskRunForIgnoredBooleanActionBeginInvoke
mod run . --recipe=OpenRewrite.Recipes.CSharp.Migration.Dotnet.Net3_0.UseTaskRunForIgnoredBooleanActionBeginInvoke

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