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); } }
public virtual void Visit(ConstValue operand) { _clazz = _referenceProvider.ForType(operand.Value().GetType()); }
public void Visit(ConstValue operand) { _value = operand.Value(); }