public virtual void Visit(ConstValue operand)
 {
     var value = operand.Value();
     if (value != null)
     {
         _opClass = TypeRef(value.GetType());
     }
     _methodBuilder.Ldc(value);
     if (value != null)
     {
         Box(_opClass, !_inArithmetic);
     }
 }
Ejemplo n.º 2
0
 public virtual void Visit(ConstValue operand)
 {
 }
Ejemplo n.º 3
0
		public virtual void Visit(ConstValue operand)
		{
			_clazz = _referenceProvider.ForType(operand.Value().GetType());
		}
		public void Visit(ConstValue operand)
		{
			_value = operand.Value();
		}