1 write to FindOptimizations
System.Text.RegularExpressions (1)
System\Text\RegularExpressions\RegexTree.cs (1)
80
FindOptimizations
= new RegexFindOptimizations(root, options);
15 references to FindOptimizations
System.Text.RegularExpressions (15)
System\Text\RegularExpressions\RegexCompiler.cs (12)
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
;
System\Text\RegularExpressions\RegexWriter.cs (1)
122
return new RegexInterpreterCode(_tree.
FindOptimizations
, _tree.Options, emitted, strings, _trackCount);
System\Text\RegularExpressions\Symbolic\SymbolicRegexRunnerFactory.cs (2)
43
SymbolicRegexMatcher<BitVector>.Create(regexTree.CaptureCount, regexTree.
FindOptimizations
, bddBuilder, rootNode, new BitVectorSolver(minterms), matchTimeout) :
44
SymbolicRegexMatcher<ulong>.Create(regexTree.CaptureCount, regexTree.
FindOptimizations
, bddBuilder, rootNode, new UInt64Solver(minterms), matchTimeout);