Ejemplo n.º 1
0
 public virtual void VisitCatchDeclaration(CatchDeclarationSyntax node)
 {
     DefaultVisit(node);
 }
Ejemplo n.º 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;
        }
Ejemplo n.º 3
0
        public static CatchClauseSyntax CatchClause(CatchDeclarationSyntax declaration = null, BlockSyntax block = null)
        {
            var result = new CatchClauseSyntax();

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

            return result;
        }
Ejemplo n.º 4
0
        public static CatchDeclarationSyntax CatchDeclaration(TypeSyntax type = null, string identifier = null)
        {
            var result = new CatchDeclarationSyntax();

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

            return result;
        }
Ejemplo n.º 5
0
 public virtual void VisitCatchDeclaration(CatchDeclarationSyntax node)
 {
     DefaultVisit(node);
 }