Fix typo & make the code leaner (#25442)
authorJan Kotas <jkotas@microsoft.com>
Thu, 27 Jun 2019 01:25:21 +0000 (18:25 -0700)
committerGitHub <noreply@github.com>
Thu, 27 Jun 2019 01:25:21 +0000 (18:25 -0700)
commit2e6510fd823cd8eb4f223199feed9a46ee6f2feb
tree3c0d90a9a337d25a756863f1b54a9aaa74890ffc
parent928e6c8b16e1fb3653533eedd09b446c3ad3d668
Fix typo & make the code leaner (#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.
src/System.Private.CoreLib/shared/System/Diagnostics/StackTrace.cs