9 references to CanMerge
System.Text.RegularExpressions (9)
System\Text\RegularExpressions\RegexCharClass.cs (4)
371
Debug.Assert(cc.
CanMerge
&&
CanMerge
, "Both character classes added together must be able to merge");
389
if (cc.
CanMerge
&&
CanMerge
)
System\Text\RegularExpressions\RegexPrefixAnalyzer.cs (5)
946
if (cc is null || cc.
CanMerge
)
955
if (cc is null || cc.
CanMerge
)
980
else if (cc.
CanMerge
&& RegexCharClass.Parse(node.Str!) is {
CanMerge
: true } setCc)
992
if (cc is null || cc.
CanMerge
)