Fix StackTraceTests to work with JIT optimization (#36596)
authorBruce Forstall <brucefo@microsoft.com>
Sat, 16 May 2020 17:01:15 +0000 (10:01 -0700)
committerGitHub <noreply@github.com>
Sat, 16 May 2020 17:01:15 +0000 (10:01 -0700)
commitb01de3ef9f27c27d592c7e25d8cf964461db9d0c
tree7fb724620b1f8b38a5f3bb906750c4b5e5617baf
parent4e94c33f9fe41b9cbb2b3c0321a99a3abfceaeb8
Fix StackTraceTests to work with JIT optimization (#36596)

Disable optimization/inlining on methods that are expected to
remain on the stack.
src/libraries/System.Diagnostics.StackTrace/tests/StackTraceTests.cs