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