Find unused Stream.Read return value
ProprietaryDetect calls to Stream.Read or Stream.ReadAsync where the return value is discarded. The return value indicates how many bytes were actually read.
OpenRewrite. Recipes. CSharp. CodeQuality. Performance. FindStreamReadResultNotUsedmod run . --recipe= OpenRewrite. Recipes. CSharp. CodeQuality. Performance. FindStreamReadResultNotUsedInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.