private static IEnumerable<IVersion> GetVersions(MemberInfo memberInfo) => memberInfo.GetCustomAttributes() .Where(a => ReflectionUtils.ImplementsOrImplementsEquivalent(a.GetType(), typeof(VersionAttribute))) .Select(a => new VersionAttributeWrapper(a));