Minor cleanup tweaks in Regex (dotnet/corefx#40338)
authorStephen Toub <stoub@microsoft.com>
Fri, 16 Aug 2019 00:35:39 +0000 (20:35 -0400)
committerGitHub <noreply@github.com>
Fri, 16 Aug 2019 00:35:39 +0000 (20:35 -0400)
commitbbaf49b28aa0b29b74de01be6a7578e9d91d608b
treef8a3d66d6bb7402d6a976965c7cef452e1b04f65
parentc77c58130d23decbdcb8542f6fbdbc74ff2ed311
Minor cleanup tweaks in Regex (dotnet/corefx#40338)

* Remove unused local in RegexRunner.TextposDescription

* Remove redundant checks in RegexCharClass.AddRange

Commit migrated from https://github.com/dotnet/corefx/commit/04bd3fa5c2c7d379c22b805ad840bc28423d5242
src/libraries/System.Text.RegularExpressions/src/System/Text/RegularExpressions/RegexCharClass.cs
src/libraries/System.Text.RegularExpressions/src/System/Text/RegularExpressions/RegexRunner.cs