Exemple #1
0
        public override SyntaxNode VisitDelegateDeclaration(DelegateDeclarationSyntax node)
        {
            bool isPubliclyVisible = IsPubliclyVisible(node);

            node = (DelegateDeclarationSyntax)base.VisitDelegateDeclaration(node);

            if (isPubliclyVisible &&
                !node.HasDocumentationComment())
            {
                return(AddDocumentationComment(node));
            }
            else
            {
                return(node);
            }
        }