Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
These warnings are helpful in general. They flag apparently incorrect use of `Stream.Read`, where the return value is unused. In the abstract, reading from a stream into a buffer is not guaranteed to return all the bytes requested, as those bytes may not yet be available. The cases covered by these three diagnostics are all in very old VB code, which hasn't been touched in ~15 years. My investigation suggests that all usages operate on `MemoryStream` which will actually always return the bytes you request. I feel it's less risky to just suppress these warnings rather than trying to fix them.
- Loading branch information