public void Accept(IDefinitionVisitor visitor)
        {
            ArgumentUtility.CheckNotNull("visitor", visitor);

            ChildSpecificAccept(visitor);

            _methods.Accept(visitor);
            _properties.Accept(visitor);
            _events.Accept(visitor);
            CustomAttributes.Accept(visitor);
        }
Exemple #2
0
        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");
        }