public PropertyDescriptorCollection GetProperties() { return _properties; }
public void MembersWithIgnoreAttributeExcluded() { CustomTypeDescriptor thingType = new CustomTypeDescriptor(typeof(Thing)); Assert.AreEqual(4, thingType.GetProperties().Count); Assert.IsNull(thingType.GetProperties().Find("Field2", true)); Assert.IsNull(thingType.GetProperties().Find("Property2", true)); }