Пример #1
0
        public static ImplicitCastExpressionSyntax ImplicitCast(ExpressionSyntax pValue, SmallType pType)
        {
            var i = new ImplicitCastExpressionSyntax(0, null);

            i.SetValue(pValue);
            i.SetType(pType);
            return(i);
        }
Пример #2
0
 public virtual void Visit(ImplicitCastExpressionSyntax pNode)
 {
     pNode.Value.Accept(this);
 }
Пример #3
0
 public virtual SyntaxNode Visit(ImplicitCastExpressionSyntax pNode)
 {
     return(SyntaxFactory.ImplicitCast(pNode.Value.Accept <ExpressionSyntax>(this), pNode.Type).WithAttributes(pNode));
 }