Use AttributeUsageAttribute
ProprietaryAdd AttributeUsage to custom attribute classes.
OpenRewrite. Recipes. CSharp. CodeQuality. Style. UseAttributeUsageAttributemod run . --recipe= OpenRewrite. Recipes. CSharp. CodeQuality. Style. UseAttributeUsageAttributeInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.