← All recipes
Moderne licensed

Find IncrementingPollingCounter async callback change

Recipe IDOpenRewrite.Recipes.CSharp.Migration.Dotnet.Net9.FindIncrementingPollingCounterArtifactOpenRewrite.Recipes.CSharp.Migration.Dotnet

Finds new IncrementingPollingCounter() constructor calls. In .NET 9, the initial callback invocation is asynchronous instead of synchronous, which may change timing behavior.

Single recipesearchdiagnosticsdotnetnet9Proprietary

Usage

This recipe has no required configuration options. You’ll need the Moderne CLI configured before running the command below.

mod run . --recipe OpenRewrite.Recipes.CSharp.Migration.Dotnet.Net9.FindIncrementingPollingCounter

If the recipe isn’t available locally, install it with:

mod config recipes nuget install OpenRewrite.Recipes.CSharp.Migration.Dotnet