WalkerCodeRanger/semver

Implement `Parse` using `TryParse` instead of the other way around

Closed this issue · 1 comments

For performance, TryParse should be the core parsing method and Parse should be implemented by calling it.

Because Parse() throws a variety of different exceptions with different messages, it isn't possible to implement it in terms of TryParse(). However, I can implement the same parse method using TryParse instead of Parse internally.