public virtual void VisitCatchDeclaration(CatchDeclarationSyntax node) { DefaultVisit(node); }
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; }
public static CatchClauseSyntax CatchClause(CatchDeclarationSyntax declaration = null, BlockSyntax block = null) { var result = new CatchClauseSyntax(); result.Declaration = declaration; result.Block = block; return result; }
public static CatchDeclarationSyntax CatchDeclaration(TypeSyntax type = null, string identifier = null) { var result = new CatchDeclarationSyntax(); result.Type = type; result.Identifier = identifier; return result; }