CountZeroConstraint public class CountZeroConstraint : Constraint CountZeroConstraint tests whether an instance has a property .Count with value zero. Documentation public CountZeroConstraint() public static bool HasCountProperty(Type type) Checks if the specified type has a int Count property.