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