2 writes to InstanceBytes
ILCompiler.Compiler (2)
Compiler\TypePreinit.cs (2)
2329
InstanceBytes
= new byte[type.GetElementSize().AsInt];
2334
InstanceBytes
= bytes;
29 references to InstanceBytes
ILCompiler.Compiler (29)
Compiler\TypePreinit.cs (29)
2324
public override int Size =>
InstanceBytes
.Length;
2339
return new ValueTypeValue((byte[])
InstanceBytes
.Clone());
2344
value = new ByRefValue(
InstanceBytes
, 0);
2361
Array.Copy(vtvalue.
InstanceBytes
,
InstanceBytes
,
InstanceBytes
.Length);
2368
|| vtvalue.
InstanceBytes
.Length !=
InstanceBytes
.Length)
2374
for (int i = 0; i <
InstanceBytes
.Length; i++)
2376
if (
InstanceBytes
[i] != ((ValueTypeValue)value).
InstanceBytes
[i])
2389
builder.EmitBytes(
InstanceBytes
);
2394
data =
InstanceBytes
;
2400
if (
InstanceBytes
.Length != size)
2404
return
InstanceBytes
;
2552
Array.Copy(guidValue.
InstanceBytes
, _parent._guidBytes[_index], _parent._guidBytes[_index].Length);
3145
byte[] src = srcVal.
InstanceBytes
;
3164
Array.Copy(PointedToBytes, PointedToOffset, result.
InstanceBytes
, 0, result.
InstanceBytes
.Length);
3387
Debug.Assert(valueToStore.
InstanceBytes
.Length == _elementSize);
3388
Array.Copy(valueToStore.
InstanceBytes
, 0, _data, index * _elementSize, valueToStore.
InstanceBytes
.Length);
3401
Array.Copy(_data, index * _elementSize, result.
InstanceBytes
, 0, _elementSize);
3566
Array.Copy(valuetype.
InstanceBytes
, 0, result._data, type.Context.Target.PointerSize, valuetype.
InstanceBytes
.Length);
3581
Array.Copy(_data, type.Context.Target.PointerSize, result.
InstanceBytes
, 0, result.
InstanceBytes
.Length);
3653
Array.Copy(_instanceBytes, _offset + fieldOffset, result.
InstanceBytes
, 0, fieldSize);
3691
Array.Copy(vtValue.
InstanceBytes
, 0, _instanceBytes, _offset + fieldOffset, fieldSize);