Open mutexes with explicit rights through MutexAcl
ProprietaryOpt-in Windows port of resolved Mutex.OpenExisting(string,MutexRights) to MutexAcl.OpenExisting, preserving argument nodes/order and nullable-call diagnostics, requested rights, result and surrounding catch/ownership policy. Add System.Threading.AccessControl 6.0.0 when absent in the owning modeled project during the same run. Skip known overlong literal/constant-allocation names, user-defined name conversions, other overloads/APIs, named/commented calls, deferred contexts and unsafe conditional snapshots. No ACL selection, Framework CAS/runtime-validation/native-failure emulation. Standalone, outside version composites.
OpenRewrite. Recipes. CSharp. Migration. Dotnet. Net6. UseMutexAclForRightsBasedOpenmod run . --recipe= OpenRewrite. Recipes. CSharp. Migration. Dotnet. Net6. UseMutexAclForRightsBasedOpenInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.