adamreeve / semver.net

Semantic versioning for .NET
MIT License
117 stars 22 forks source link

Implement Parse and TryParse static methods on Version and Range. #48

Closed perfectsquircle closed 4 years ago

perfectsquircle commented 4 years ago

This theoretically satisfies issue #10. Please review and let me know if I missed anything.

perfectsquircle commented 4 years ago

I guess this was done to keep the output parameter as the last parameter?

Yes. The compiler wants optional arguments at the end (CS1737), however it seems that convention for TryParse is that the out parameter appears at the end.