Remove no-op Marshal.ReleaseThreadCache calls
ProprietaryRemove resolved calls to Marshal.ReleaseThreadCache() that are standalone statements in blocks. The Framework API has an empty body and explicitly performs no operation. Retain surrounding control flow; leave commented blocks/calls, embedded statements, method groups, expression-bodied members, conditional files and unresolved calls unchanged.
OpenRewrite. Recipes. CSharp. Migration. Dotnet. Net3_0. RemoveMarshalReleaseThreadCachemod run . --recipe= OpenRewrite. Recipes. CSharp. Migration. Dotnet. Net3_0. RemoveMarshalReleaseThreadCacheInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.