2 writes to _regexTree
System.Text.RegularExpressions (2)
System\Text\RegularExpressions\RegexAssemblyCompiler.cs (1)
49
_regexTree
= tree;
System\Text\RegularExpressions\RegexLWCGCompiler.cs (1)
42
_regexTree
= regexTree;
13 references to _regexTree
System.Text.RegularExpressions (13)
System\Text\RegularExpressions\RegexCompiler.cs (13)
391
Debug.Assert(
_regexTree
!= null);
411
int minRequiredLength =
_regexTree
.FindOptimizations.MinRequiredLength;
462
switch (
_regexTree
.FindOptimizations.FindMode)
490
Debug.Fail($"Unexpected mode: {
_regexTree
.FindOptimizations.FindMode}");
507
switch (
_regexTree
.FindOptimizations.FindMode)
623
int extraNewlineBump =
_regexTree
.FindOptimizations.FindMode == FindNextStartingPositionMode.TrailingAnchor_FixedLength_LeftToRight_EndZ ? 1 : 0;
628
Ldc(
_regexTree
.FindOptimizations.MinRequiredLength + extraNewlineBump);
634
Ldc(
_regexTree
.FindOptimizations.MinRequiredLength + extraNewlineBump);
647
switch (
_regexTree
.FindOptimizations.LeadingAnchor)
726
switch (
_regexTree
.FindOptimizations.TrailingAnchor)
728
case RegexNodeKind.End or RegexNodeKind.EndZ when
_regexTree
.FindOptimizations.MaxPossibleLength is int maxLength:
731
int extraNewlineBump =
_regexTree
.FindOptimizations.FindMode == FindNextStartingPositionMode.TrailingAnchor_FixedLength_LeftToRight_EndZ ? 1 : 0;
756
RegexFindOptimizations opts =
_regexTree
.FindOptimizations;