Find concrete collection in public API
ProprietaryDetect public method parameters or return types that use concrete collection types like List<T> instead of IList<T> or IEnumerable<T>.
OpenRewrite. Recipes. CSharp. CodeQuality. Style. FindPreferCollectionAbstractionmod run . --recipe= OpenRewrite. Recipes. CSharp. CodeQuality. Style. FindPreferCollectionAbstractionInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.