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

            return(value);
        }