If you have an object that has a property with no get method (ie, only a setter), then calling .AllProperties() with that object results in a NullReferenceException.
The error is in PropertyAssertions.AddPublicProperties() (line 59)
the method should check if the propertyInfo.GetGetMethod(true) returns null.
Comments: Associated with changeset 74292.
The error is in PropertyAssertions.AddPublicProperties() (line 59)
the method should check if the propertyInfo.GetGetMethod(true) returns null.
Comments: Associated with changeset 74292.