Skip to content

Commit c7f4149

Browse files
authored
Lazily-initialize RegexCompiler's cached reflection members (#109283)
* Lazily-initialize RegexCompiler's cached reflection members There are currently ~70 members that we populate to cache for later use. We rarely need all of them. This uses `field` to make them lazily initialized. * Remove field attributes and suppress warnings
1 parent e2e4642 commit c7f4149

File tree

1 file changed

+324
-321
lines changed
  • src/libraries/System.Text.RegularExpressions/src/System/Text/RegularExpressions

1 file changed

+324
-321
lines changed

0 commit comments

Comments
 (0)