Use TryParseUInt32HexNumberStyle directly from Guid.TryParse (#44918)
authorStephen Toub <stoub@microsoft.com>
Fri, 20 Nov 2020 15:40:20 +0000 (10:40 -0500)
committerGitHub <noreply@github.com>
Fri, 20 Nov 2020 15:40:20 +0000 (10:40 -0500)
commitf22d7c57ac99719aa2d764327e6742f1cc90bbe5
treed7b18eea4d9b2725444ae8d56ed76f9455bed9de
parenta61b05410466e8e489c09e22a79190adc3a1ecaa
Use TryParseUInt32HexNumberStyle directly from Guid.TryParse (#44918)

Skips public entry points of uint.TryParse, including argument validation, branches for style, but most impactfully fetching the current number culture when it won't actually be needed.
src/libraries/System.Private.CoreLib/src/System/Guid.cs
src/libraries/System.Private.CoreLib/src/System/Number.Parsing.cs