public IEnumerable<Match> GetMatches() { var match = GetMatch(); while (match != null) { yield return match; match = match.NextMatch(); } }