Reduce size of non-inlined ArgumentOutOfRangeException throw helpers (#88508)
authorStephen Toub <stoub@microsoft.com>
Fri, 7 Jul 2023 14:56:08 +0000 (10:56 -0400)
committerGitHub <noreply@github.com>
Fri, 7 Jul 2023 14:56:08 +0000 (10:56 -0400)
commit996b0127a6eb2b9d6a2f6f408ea5a9c1eb46a06f
tree166c272bcc780cfe8a9c2f3ca9736289f098dcf0
parentbcd678fa1614e97bb982155180bd915c9210db77
Reduce size of non-inlined ArgumentOutOfRangeException throw helpers (#88508)

Keeping the arguments of the delegated throw method the same order as the callee avoids unnecessary spilling.
src/libraries/System.Private.CoreLib/src/System/ArgumentOutOfRangeException.cs