public void prop_ValidOn() { const AttributeTargets expected = AttributeTargets.Class; var obj = new AttributeUsageTest(typeof(object), expected, true, true); var actual = obj.ValidOn; Assert.Equal(expected, actual); }
public void prop_ValidOn() { const AttributeTargets expected = AttributeTargets.Class; var obj = new AttributeUsageTest(typeof(object), expected, true, true); var actual = obj.ValidOn; Assert.Equal(expected, actual); }
public void prop_Inherited() { var obj = new AttributeUsageTest(typeof(object), AttributeTargets.Class, false, true); Assert.True(obj.Inherited); }
public void prop_AllowMultiple() { var obj = new AttributeUsageTest(typeof(object), AttributeTargets.Class, true, false); Assert.True(obj.AllowMultiple); }
public void prop_Inherited() { var obj = new AttributeUsageTest(typeof(object), AttributeTargets.Class, false, true); Assert.True(obj.Inherited); }
public void prop_AllowMultiple() { var obj = new AttributeUsageTest(typeof(object), AttributeTargets.Class, true, false); Assert.True(obj.AllowMultiple); }