18 references to CharInClass
System.Text.RegularExpressions (18)
System\Text\RegularExpressions\RegexCharClass.cs (3)
864
if (hasSubtraction && !
CharInClass
((char)c, set))
953
if (
CharInClass
((char)c, set1))
1299
bool isInClass =
CharInClass
(ch, set);
System\Text\RegularExpressions\RegexNode.cs (8)
2122
case RegexNodeKind.Set when !RegexCharClass.
CharInClass
(node.Ch, subsequent.Str!):
2125
case RegexNodeKind.Setlazy or RegexNodeKind.Setloop or RegexNodeKind.Setloopatomic when subsequent.M > 0 && !RegexCharClass.
CharInClass
(node.Ch, subsequent.Str!):
2133
case RegexNodeKind.Setlazy or RegexNodeKind.Setloop or RegexNodeKind.Setloopatomic when subsequent.M == 0 && !RegexCharClass.
CharInClass
(node.Ch, subsequent.Str!):
2169
case RegexNodeKind.One when !RegexCharClass.
CharInClass
(subsequent.Ch, node.Str!):
2171
case RegexNodeKind.Onelazy or RegexNodeKind.Oneloop or RegexNodeKind.Oneloopatomic when subsequent.M > 0 && !RegexCharClass.
CharInClass
(subsequent.Ch, node.Str!):
2173
case RegexNodeKind.Multi when !RegexCharClass.
CharInClass
(subsequent.Str![0], node.Str!):
2175
case RegexNodeKind.EndZ or RegexNodeKind.Eol when !RegexCharClass.
CharInClass
('\n', node.Str!):
2178
case RegexNodeKind.Onelazy or RegexNodeKind.Oneloop or RegexNodeKind.Oneloopatomic when subsequent.M == 0 && !RegexCharClass.
CharInClass
(subsequent.Ch, node.Str!):
System\Text\RegularExpressions\RegexPrefixAnalyzer.cs (5)
1160
RegexCharClass.
CharInClass
(prefix[0], firstChild.Str!) ? null :
1181
if (RegexCharClass.
CharInClass
((char)(ordinalCaseInsensitivePrefix[0] | 0x20), firstChild.Str!) ||
1182
RegexCharClass.
CharInClass
((char)(ordinalCaseInsensitivePrefix[0] & ~0x20), firstChild.Str!))
1187
else if (RegexCharClass.
CharInClass
(ordinalCaseInsensitivePrefix[0], firstChild.Str!))
1217
if (RegexCharClass.
CharInClass
(c, firstChild.Str!))
System\Text\RegularExpressions\RegexRunner.cs (2)
441
return RegexCharClass.
CharInClass
(ch, charClass);
446
return RegexCharClass.
CharInClass
(ch, charClass);