Example #1
0
 public void should_indicate_if_member_has_attributes(
     CachedMember cachedMember, MemberInfo memberInfo)
 {
     cachedMember.HasAttribute<XmlIgnoreAttribute>().ShouldBeTrue();
     cachedMember.HasAttribute<XmlArrayAttribute>().ShouldBeTrue();
 }
Example #2
0
 public void should_indicate_if_member_does_not_have_an_attributes(
     CachedMember cachedMember, MemberInfo memberInfo)
 {
     cachedMember.HasAttribute <XmlArrayItemAttribute>().ShouldBeFalse();
 }
Example #3
0
 public void should_indicate_if_member_does_not_have_an_attributes(
     CachedMember cachedMember, MemberInfo memberInfo)
 {
     cachedMember.HasAttribute<XmlArrayItemAttribute>().ShouldBeFalse();
 }
Example #4
0
 public void should_indicate_if_member_has_attributes(
     CachedMember cachedMember, MemberInfo memberInfo)
 {
     cachedMember.HasAttribute <XmlIgnoreAttribute>().ShouldBeTrue();
     cachedMember.HasAttribute <XmlArrayAttribute>().ShouldBeTrue();
 }