1 write to Range
System.Text.RegularExpressions (1)
System\Text\RegularExpressions\RegexPrefixAnalyzer.cs (1)
562result.Range = (lowInclusive, highInclusive);
13 references to Range
System.Text.RegularExpressions (13)
System\Text\RegularExpressions\RegexCompiler.cs (6)
949else if (primarySet.Range is not null) 951if (primarySet.Range.Value.LowInclusive == primarySet.Range.Value.HighInclusive) 954Ldc(primarySet.Range.Value.LowInclusive); 960Ldc(primarySet.Range.Value.LowInclusive); 961Ldc(primarySet.Range.Value.HighInclusive);
System\Text\RegularExpressions\RegexFindOptimizations.cs (2)
662else if (primarySet.Range is not null) 664(char low, char high) = primarySet.Range.GetValueOrDefault();
System\Text\RegularExpressions\RegexPrefixAnalyzer.cs (5)
522!r.Negated && r.Chars is null && r.Range is null, 799int s1RangeLength = s1.Range is not null ? GetRangeLength(s1.Range.Value, s1Negated) : 0; 800int s2RangeLength = s2.Range is not null ? GetRangeLength(s2.Range.Value, s2Negated) : 0;