Find methods not forwarding CancellationToken
Recipe ID
OpenRewrite.Recipes.CSharp.CodeQuality.Performance.FindMissingCancellationTokenArtifactOpenRewrite.Recipes.CSharp.CodeQualityDetect calls to async methods that may have CancellationToken overloads but are called without one. Uses name-based heuristics.
Single recipecsharpperformancecode-qualityProprietary
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.CodeQuality.Performance.FindMissingCancellationTokenIf the recipe isn’t available locally, install it with:
mod config recipes nuget install OpenRewrite.Recipes.CSharp.CodeQuality