Пример #1
0
 public virtual void VisitCatchDeclaration(CatchDeclarationSyntax node)
 {
     DefaultVisit(node);
 }
Пример #2
0
        public static CatchDeclarationSyntax CatchDeclaration(string type = null, string identifier = null)
        {
            var result = new CatchDeclarationSyntax();

            if (type != null)
                result.Type = ParseName(type);
            result.Identifier = identifier;

            return result;
        }
Пример #3
0
        public static CatchClauseSyntax CatchClause(CatchDeclarationSyntax declaration = null, BlockSyntax block = null)
        {
            var result = new CatchClauseSyntax();

            result.Declaration = declaration;
            result.Block = block;

            return result;
        }
Пример #4
0
        public static CatchDeclarationSyntax CatchDeclaration(TypeSyntax type = null, string identifier = null)
        {
            var result = new CatchDeclarationSyntax();

            result.Type = type;
            result.Identifier = identifier;

            return result;
        }
Пример #5
0
 public virtual void VisitCatchDeclaration(CatchDeclarationSyntax node)
 {
     DefaultVisit(node);
 }