/// <inheritdoc/> public override IEnumerable <VersionRangePart> Intersect(VersionRange versions) { #region Sanity checks if (versions == null) { throw new ArgumentNullException(nameof(versions)); } #endregion if (versions.Match(Version)) { yield return(this); } }