Find Stream.Read() return value ignored

Proprietary

Detect Stream.Read() calls where the return value (bytes read) is not used. This can lead to incomplete reads.

OpenRewrite.Recipes.CSharp.CodeQuality.Style.FindStreamReadIgnored
mod run . --recipe=OpenRewrite.Recipes.CSharp.CodeQuality.Style.FindStreamReadIgnored

Install it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.