public virtual void VisitCastExpression(CastExpressionSyntax node) { DefaultVisit(node); }
public static CastExpressionSyntax CastExpression(TypeSyntax type = null, ExpressionSyntax expression = null) { var result = new CastExpressionSyntax(); result.Type = type; result.Expression = expression; return result; }
public static CastExpressionSyntax CastExpression(string type = null, ExpressionSyntax expression = null) { var result = new CastExpressionSyntax(); if (type != null) result.Type = ParseName(type); result.Expression = expression; return result; }