1 write to Negated
System.Text.RegularExpressions.Generator (1)
src\libraries\System.Text.RegularExpressions\src\System\Text\RegularExpressions\RegexPrefixAnalyzer.cs (1)
557result.Negated = RegexCharClass.IsNegated(result.Set);
9 references to Negated
System.Text.RegularExpressions.Generator (9)
RegexGenerator.Emitter.cs (3)
1191if (primarySet.Negated) 1215indexOf = (primarySet.Range.Value.LowInclusive == primarySet.Range.Value.HighInclusive, primarySet.Negated) switch 1336Debug.Assert(!set.Negated);
src\libraries\System.Text.RegularExpressions\src\System\Text\RegularExpressions\RegexFindOptimizations.cs (3)
233(fixedDistanceSets[0].Chars is not null && !fixedDistanceSets[0].Negated)) 241!fixedDistanceSets[0].Negated) 357bool invalidChars = chars is not { Length: 1 } || fixedDistanceSets[i].Negated;
src\libraries\System.Text.RegularExpressions\src\System\Text\RegularExpressions\RegexPrefixAnalyzer.cs (3)
522!r.Negated && r.Chars is null && r.Range is null, 797bool s1Negated = s1.Negated; 798bool s2Negated = s2.Negated;