kellyethridge / VBCorLib

The VBCorLib framework brings many of the powerful .NET classes to VB6.
http://www.kellyethridge.com/vbcorlib/
MIT License
112 stars 28 forks source link

MemoryStream.ReadByte should error when stream is closed. #38

Closed kellyethridge closed 4 years ago

kellyethridge commented 4 years ago

Currently the MemoryStream.ReadByte will always return a value and advance the postion even when the stream is closed. It should throw an ObjectDisposedException.