kellyethridge / VBCorLib

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

MemoryStream.Length should throw exception when closed #37

Closed kellyethridge closed 4 years ago

kellyethridge commented 4 years ago

The current behavior of MemoryStream.Length is to always just return the the length of the stream. However, if the stream is closed the property should throw an ObjectDisposedException.