Use the same hash factory in an existing using declaration
ProprietaryReplace a parameterless MD5 CSP or SHA Managed/CSP using declaration with its algorithm factory, retaining the original disposal boundary and every bound ComputeHash call. Support inferred and explicit provider types; skip escapes, configuration, captures, async/iterators, initialization and conditional snapshots. Opt-in modern-.NET compatibility port; no algorithm strengthening.
OpenRewrite. Recipes. CSharp. Migration. Dotnet. Net6. UseUsingDeclarationHashFactorymod run . --recipe= OpenRewrite. Recipes. CSharp. Migration. Dotnet. Net6. UseUsingDeclarationHashFactoryInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.