Find ClaimsIdentity Actor clone-on-copy change
Recipe ID
OpenRewrite.Recipes.CSharp.Migration.Dotnet.NetFramework.FindClaimsIdentityActorCloneArtifactOpenRewrite.Recipes.CSharp.Migration.DotnetFinds 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.FindClaimsIdentityActorCloneIf the recipe isn’t available locally, install it with:
mod config recipes nuget install OpenRewrite.Recipes.CSharp.Migration.Dotnet