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

Add validation to NewChars method. #31

Closed kellyethridge closed 4 years ago

kellyethridge commented 4 years ago

The NewChars method accepts empty strings, non-numeric, and out-of-range numeric values without validation. Visual Basic will raise an exception, however, in keeping parity with other methods in VBCorLib, each element should be validated and throw an appropriate exception instead.