Avoid unnecessary intermediate Version allocation
authorJustin Van Patten <jvp@justinvp.com>
Sun, 20 Aug 2017 19:37:18 +0000 (12:37 -0700)
committerJustin Van Patten <jvp@justinvp.com>
Sun, 20 Aug 2017 19:37:18 +0000 (12:37 -0700)
commit6bffa568191ad1e539ffe6ff47ce2db5b017934d
tree14a9b1925f590a51a50563b0d738cf760a94959c
parenta6045809b3720833459c9247aeb4aafe281d7841
Avoid unnecessary intermediate Version allocation

`Version..ctor(string)` is implemented by calling `Version.Parse`, which
allocates an intermediate `Version` instance. Avoid the unnecessary
intermediate allocation by using `Version.Parse` directly.
src/mscorlib/src/System/AppContext/AppContextDefaultValues.cs