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

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