Use product version in RuntimeInformation.FrameworkDescription (dotnet/corefx#35516)
authorJan Kotas <jkotas@microsoft.com>
Sat, 23 Feb 2019 05:07:03 +0000 (21:07 -0800)
committerGitHub <noreply@github.com>
Sat, 23 Feb 2019 05:07:03 +0000 (21:07 -0800)
commit99e61b0a73821f1a7b40172d0fdd2d40eb3411e9
tree8cd445ff7fcad4aaa755699a4a9e45e0d8cd152d
parent9fc8d81e9f8ec162c250d4d7fdbab07855ab5867
Use product version in RuntimeInformation.FrameworkDescription (dotnet/corefx#35516)

* Use product version in RuntimeInformation.FrameworkDescription

* Include FrameworkDescription in the Assert

* Strip the git hash in the fallback

Commit migrated from https://github.com/dotnet/corefx/commit/db95b37fa3218e20ff639b232a41202b24ddcb39
src/libraries/System.Runtime.InteropServices.RuntimeInformation/src/System/Runtime/InteropServices/RuntimeInformation/RuntimeInformation.cs
src/libraries/System.Runtime.InteropServices.RuntimeInformation/tests/DescriptionNameTests.cs