9 references to Count
System.Text.RegularExpressions (9)
System\Text\RegularExpressions\Regex.Replace.cs (2)
187if (state.segments.Count == 0) 206if (state.segments.Count == 0)
System\Text\RegularExpressions\RegexReplacement.cs (7)
250if (state.offsetAndCounts.Count != 0) 259Debug.Assert(state.offsetAndCounts.Count % 2 == 0, $"{state.offsetAndCounts.Count}"); 260Debug.Assert(state.offsetAndCounts.Count >= 4, $"{state.offsetAndCounts.Count}"); 310if (state.segments.Count == 0) 330if (state.segments.Count == 0)