Minor RegexCompiler codegen tweak for text[pos++]
authorStephen Toub <stoub@microsoft.com>
Fri, 20 Dec 2019 15:25:55 +0000 (10:25 -0500)
committerStephen Toub <stoub@microsoft.com>
Thu, 9 Jan 2020 03:50:08 +0000 (22:50 -0500)
commit6f7f4f9b439224f48263a0e14aca0512bdebe87e
tree44a4b224bab505537952e71b45b64649135afe16
parent4fa40d3d9ba4b87d0acb3410645a773bde2da914
Minor RegexCompiler codegen tweak for text[pos++]

The JIT generates slightly better code for:
```C#
text[pos] = ....;
pos++;
```
instead of:
```C#
text[pos++] = ...;
```
so use the IL equivalent of the former.
src/libraries/System.Text.RegularExpressions/src/System/Text/RegularExpressions/RegexCompiler.cs