Use the same TripleDES factory for a closed provider local

Proprietary

Replace parameterless TripleDESCryptoServiceProvider plain-local construction with TripleDES.Create(), preserving its existing lifetime. Require every reference to be an attributed forwarded property or transform/key-generation receiver. Retype the local and members consistently. Exclude using resources, initialization, escapes, captures, identity, two-argument transforms with IV-trimming semantics, async/iterators, directives and conditional snapshots. Opt-in modern-.NET compatibility; no mode/key/format choice.

OpenRewrite.Recipes.CSharp.Migration.Dotnet.Net6.UseClosedTripleDesCspLocalFactory
mod run . --recipe=OpenRewrite.Recipes.CSharp.Migration.Dotnet.Net6.UseClosedTripleDesCspLocalFactory

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