public void Accept(IDefinitionVisitor visitor) { ArgumentUtility.CheckNotNull("visitor", visitor); ChildSpecificAccept(visitor); _methods.Accept(visitor); _properties.Accept(visitor); _events.Accept(visitor); CustomAttributes.Accept(visitor); }
public void Accept(IDefinitionVisitor visitor) { ArgumentUtility.CheckNotNull("visitor", visitor); ChildSpecificAccept(visitor); CustomAttributes.Accept(visitor); AttributeIntroductions.Accept(visitor); NonAttributeIntroductions.Accept(visitor); Assertion.IsTrue(SuppressedAttributeIntroductions.Count == 0, "Must be updated once we support suppressing attributes on members"); }