Exemplo n.º 1
0
        public static ImplicitCastExpressionSyntax ImplicitCast(ExpressionSyntax pValue, SmallType pType)
        {
            var i = new ImplicitCastExpressionSyntax(0, null);

            i.SetValue(pValue);
            i.SetType(pType);
            return(i);
        }
Exemplo n.º 2
0
 public virtual void Visit(ImplicitCastExpressionSyntax pNode)
 {
     pNode.Value.Accept(this);
 }
Exemplo n.º 3
0
 public virtual SyntaxNode Visit(ImplicitCastExpressionSyntax pNode)
 {
     return(SyntaxFactory.ImplicitCast(pNode.Value.Accept <ExpressionSyntax>(this), pNode.Type).WithAttributes(pNode));
 }