Use Guid.Empty
ProprietaryReplace new Guid() with Guid.Empty. The static Guid.Empty field avoids unnecessary allocations and clearly expresses intent.
OpenRewrite. Recipes. CSharp. CodeQuality. Simplification. UseGuidEmptymod run . --recipe= OpenRewrite. Recipes. CSharp. CodeQuality. Simplification. UseGuidEmptyInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.