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

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