private static int GetPropertyVersion(PropertyInfo property) { var attribute = property.GetCustomAttribute<ManifestVersionAttribute>(); return attribute != null ? attribute.Version : DefaultVersion; }