Find ActivitySamplingResult.PropagationData behavior change

Proprietary

Finds usages of ActivitySamplingResult.PropagationData which has changed behavior in .NET 10. Activities with a recorded parent and PropagationData sampling no longer set Activity.Recorded = true.

OpenRewrite.Recipes.CSharp.Migration.Dotnet.Net10.FindActivitySampling
mod run . --recipe=OpenRewrite.Recipes.CSharp.Migration.Dotnet.Net10.FindActivitySampling

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