Exemple #1
0
        public static SwitchStatementSyntax SwitchStatement(ExpressionSyntax expression = null, IEnumerable<SwitchSectionSyntax> sections = null)
        {
            var result = new SwitchStatementSyntax();

            result.Expression = expression;
            if (sections != null)
                result.Sections.AddRange(sections);

            return result;
        }
 public virtual void VisitSwitchStatement(SwitchStatementSyntax node)
 {
     DefaultVisit(node);
 }
Exemple #3
0
 public virtual void VisitSwitchStatement(SwitchStatementSyntax node)
 {
     DefaultVisit(node);
 }