11 references to GetOrAdd
System.Text.RegularExpressions (11)
System\Text\RegularExpressions\Regex.Count.cs (2)
66
RegexCache.
GetOrAdd
(pattern).Count(input);
99
RegexCache.
GetOrAdd
(pattern).Count(input);
System\Text\RegularExpressions\Regex.EnumerateMatches.cs (1)
25
RegexCache.
GetOrAdd
(pattern).EnumerateMatches(input);
System\Text\RegularExpressions\Regex.EnumerateSplits.cs (1)
34
RegexCache.
GetOrAdd
(pattern).EnumerateSplits(input);
System\Text\RegularExpressions\Regex.Match.cs (4)
14
RegexCache.
GetOrAdd
(pattern).IsMatch(input);
26
RegexCache.
GetOrAdd
(pattern).IsMatch(input);
121
RegexCache.
GetOrAdd
(pattern).Match(input);
179
RegexCache.
GetOrAdd
(pattern).Matches(input);
System\Text\RegularExpressions\Regex.Replace.cs (2)
20
RegexCache.
GetOrAdd
(pattern).Replace(input, replacement);
91
RegexCache.
GetOrAdd
(pattern).Replace(input, evaluator);
System\Text\RegularExpressions\Regex.Split.cs (1)
16
RegexCache.
GetOrAdd
(pattern).Split(input);