private PropertyDefinition[] RemoveIgnoredProperties(PropertyDefinition[] allProperties) { return allProperties.Where(x => x.CustomAttributes.All(y => y.AttributeType.Name != "IgnoreDuringToStringAttribute")).ToArray(); }