2 writes to InstanceBytes
ILCompiler.Compiler (2)
Compiler\TypePreinit.cs (2)
2320InstanceBytes = new byte[type.GetElementSize().AsInt]; 2325InstanceBytes = bytes;
29 references to InstanceBytes
ILCompiler.Compiler (29)
Compiler\TypePreinit.cs (29)
2315public override int Size => InstanceBytes.Length; 2330return new ValueTypeValue((byte[])InstanceBytes.Clone()); 2335value = new ByRefValue(InstanceBytes, 0); 2352Array.Copy(vtvalue.InstanceBytes, InstanceBytes, InstanceBytes.Length); 2359|| vtvalue.InstanceBytes.Length != InstanceBytes.Length) 2365for (int i = 0; i < InstanceBytes.Length; i++) 2367if (InstanceBytes[i] != ((ValueTypeValue)value).InstanceBytes[i]) 2380builder.EmitBytes(InstanceBytes); 2385data = InstanceBytes; 2391if (InstanceBytes.Length != size) 2395return InstanceBytes; 2543Array.Copy(guidValue.InstanceBytes, _parent._guidBytes[_index], _parent._guidBytes[_index].Length); 3125byte[] src = srcVal.InstanceBytes; 3144Array.Copy(PointedToBytes, PointedToOffset, result.InstanceBytes, 0, result.InstanceBytes.Length); 3357Debug.Assert(valueToStore.InstanceBytes.Length == _elementSize); 3358Array.Copy(valueToStore.InstanceBytes, 0, _data, index * _elementSize, valueToStore.InstanceBytes.Length); 3371Array.Copy(_data, index * _elementSize, result.InstanceBytes, 0, _elementSize); 3533Array.Copy(valuetype.InstanceBytes, 0, result._data, type.Context.Target.PointerSize, valuetype.InstanceBytes.Length); 3548Array.Copy(_data, type.Context.Target.PointerSize, result.InstanceBytes, 0, result.InstanceBytes.Length); 3601Array.Copy(_instanceBytes, _offset + fieldOffset, result.InstanceBytes, 0, fieldSize); 3639Array.Copy(vtValue.InstanceBytes, 0, _instanceBytes, _offset + fieldOffset, fieldSize);