示例#1
0
        public ToString MakeToString(Expression expression)
        {
            var n = expression as ToString;

            if (n == null)
            {
                n = new ToString(MakeGuardedCast(expression));
            }
            return(n);
        }
示例#2
0
 public override void Visit(ToString node) { Visit(node, Types.Operations.Convert.ToString); }
示例#3
0
 public override void Visit(ToString node) { Visit((ConversionExpression)node); }
示例#4
0
 public override void Visit(ToString node) { base.Visit(node); node.ValueType = GetType(node); }
示例#5
0
 internal static mdr.ValueTypes GetType(ToString expression) { return Types.Operations.Convert.ToString.ReturnType(expression.ValueType); }
示例#6
0
 public override void Visit(ToString node)
 {
     Visit((ConversionExpression)node);
 }
示例#7
0
 public ToString MakeToString(Expression expression)
 {
   var n = expression as ToString;
   if (n == null)
   {
     n = new ToString(MakeGuardedCast(expression));
   }
   return n;
 }
示例#8
0
 public abstract void Visit(ToString node);
示例#9
0
 public override void Visit(ToString node)
 {
   PushLocation(node);
   VisitNode(node.Expression);
   Call(Types.Operations.Stack.ToString_StackRef, 1, 1);
   PopLocation();
 }
示例#10
0
 public override void Visit(ToString node) { AssignToImplicitReturn(node); }