public bool IsMinimizedAutoProperty(IPropertySymbol property) { if (Context.Instance.Attribute.IsAssignableFrom(property.ContainingType)) return false; if (property.IsAutoProperty()) { var localMinimized = property.AreAutoPropertiesMinimized(); if (localMinimized != null) return localMinimized.Value; var typeMinimized = property.ContainingType.AreAutoPropertiesMinimized(); if (typeMinimized != null) return typeMinimized.Value; return property.ContainingAssembly.AreAutoPropertiesMinimized(); } return false; }