예제 #1
0
 public virtual void VisitCastExpression(CastExpressionSyntax node)
 {
     DefaultVisit(node);
 }
예제 #2
0
        public static CastExpressionSyntax CastExpression(TypeSyntax type = null, ExpressionSyntax expression = null)
        {
            var result = new CastExpressionSyntax();

            result.Type = type;
            result.Expression = expression;

            return result;
        }
예제 #3
0
        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;
        }
예제 #4
0
 public virtual void VisitCastExpression(CastExpressionSyntax node)
 {
     DefaultVisit(node);
 }