Tweak Regex comparison to improve subsequent bounds check removals (#68846)
authorStephen Toub <stoub@microsoft.com>
Thu, 5 May 2022 17:23:06 +0000 (13:23 -0400)
committerGitHub <noreply@github.com>
Thu, 5 May 2022 17:23:06 +0000 (13:23 -0400)
commit393be552b29cd80f4909b12546324cbcbb947c35
tree5b37bdcd8549dc6283b3b3ed96e04f0831970c33
parent8a31a320899888a1b0c97011f0c337ddbaeac19f
Tweak Regex comparison to improve subsequent bounds check removals (#68846)

* Tweak Regex comparison to improve subsequent bounds check removals

* Address PR feedback
src/libraries/System.Text.RegularExpressions/gen/RegexGenerator.Emitter.cs
src/libraries/System.Text.RegularExpressions/src/System/Text/RegularExpressions/RegexCompiler.cs