/// <inheritdoc/> public bool MoveNext() { if (_done) { return(false); } _match = _matchcoll.GetMatch(_curindex++); if (_match == null) { _done = true; return(false); } return(true); }
public bool MoveNext() { if (_index == -2) { return(false); } _index++; Match?match = _collection.GetMatch(_index); if (match == null) { _index = -2; return(false); } return(true); }