Fix typo & make the code leaner (dotnet/coreclr#25442)
commitc88c0dd8734a878fe0128ba29a14700b80d1851b
authorJan Kotas <jkotas@microsoft.com>
Thu, 27 Jun 2019 01:25:21 +0000 (26 18:25 -0700)
committerMarek Safar <marek.safar@gmail.com>
Mon, 1 Jul 2019 21:01:13 +0000 (1 23:01 +0200)
treecc5fd6e652b105a5e1dbefea2cbb6b24cd02e10e
parent45e5bb8ec0bcd6d5170011122e33d4f5799caa82
Fix typo & make the code leaner (dotnet/coreclr#25442)

Enum.HasFlag generates bigger IL and depends on complex JIT optimization for a good code.
The classic bit check is strongly preferred accross CoreCLR and CoreFX.

Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
netcore/System.Private.CoreLib/shared/System/Diagnostics/StackTrace.cs