public CilInt32(CilValueInt32 value) { Value = value; }
public void SetValue(IValue value, CilValueInt32 indexVal, CilManagedMemory managedMemory) { _array[indexVal.Value] = value; }
public IValue GetValue(CilValueInt32 indexVal, CilType desiredType, CilManagedMemory managedMemory, CilProgram program) { return(_array[indexVal.Value].As(desiredType ?? _type)); }
public override IValue CreateValueFromRuntime(object obj, CilManagedMemory managedMemory, CilProgram program) { var value = new CilValueInt32((int)obj); return(value); }