9 references to Count
System.Text.RegularExpressions (9)
System\Text\RegularExpressions\Symbolic\SymbolicRegexMatcher.cs (6)
811while (state.NfaState!.NfaStateSet.Count != 0) // Dead end here means the set is empty 1030Debug.Assert(next.Count == 0); 1080Debug.Assert(current.Count > 0); 1355if (sourceStates.Count == 1) 1451Debug.Assert(nextStates.Count == 0 || sourceStates.Count > 0);
System\Text\RegularExpressions\Symbolic\SymbolicRegexMatcher.Sample.cs (3)
82Debug.Assert(states.NfaStateSet.Count > 0); 139if (states.NfaStateSet.Count > 0) 154if (states.NfaStateSet.Count == 0 || inputSoFar.Length > SampleMatchesMaxInputLength)