AzureAD / azure-activedirectory-identitymodel-extensions-for-dotnet

IdentityModel extensions for .Net
MIT License
1.06k stars 401 forks source link

Prevent inlining to guarantee stack frames in test #3002

Closed westin-m closed 1 week ago

westin-m commented 1 week ago

Addresses #2999

In release builds, the compiler was inlining the methods that only contained call to other methods. This was causing the stack trace to be different than expected. Specifying no inlining will prevent this.