public virtual void Visit(ConstValue operand)
        {
            object value = operand.Value();

            if (value != null)
            {
                _opClass = TypeRef(value.GetType());
            }
            _methodBuilder.Ldc(value);
            if (value != null)
            {
                Box(_opClass, !_inArithmetic);
            }
        }
Esempio n. 2
0
 private void Ldc(object value)
 {
     _builder.Ldc(value);
 }