public void get_attributes_respects_the_inherit_argument()
{
// inherit should be true by default.
Assert.NotEmpty(typeof(Child).GetAttributes<InheritedAttribute>());
Assert.NotEmpty(typeof(Child).GetAttributes<InheritedAttribute>(true));
Assert.Empty(typeof(Child).GetAttributes<InheritedAttribute>(false));
}