public void ReturnsNoExplicitInterfacePropertiesWhenDisabled() { var propertyInfo = typeof (Person).GetPropertyEx("FirstName", allowExplicitInterfaceProperties: false); Assert.IsNull(propertyInfo); }