← All recipes
Moderne licensed

Find ClaimsIdentity Actor clone-on-copy change

Recipe IDOpenRewrite.Recipes.CSharp.Migration.Dotnet.NetFramework.FindClaimsIdentityActorCloneArtifactOpenRewrite.Recipes.CSharp.Migration.Dotnet

Finds ClaimsIdentity(IIdentity, ...) constructions, which clone the Actor instead of attaching it by reference when retargeting to .NET Framework 4.6.2 (Switch.System.Security.ClaimsIdentity.SetActorAsReferenceWhenCopyingClaimsIdentity to revert).

Single recipesearchsecuritydotnetnet-frameworkProprietary

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.NetFramework.FindClaimsIdentityActorClone

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

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