2 writes to InstanceBytes
ILCompiler.Compiler (2)
Compiler\TypePreinit.cs (2)
2331
InstanceBytes
= new byte[type.GetElementSize().AsInt];
2336
InstanceBytes
= bytes;
29 references to InstanceBytes
ILCompiler.Compiler (29)
Compiler\TypePreinit.cs (29)
2326
public override int Size =>
InstanceBytes
.Length;
2341
return new ValueTypeValue((byte[])
InstanceBytes
.Clone());
2346
value = new ByRefValue(
InstanceBytes
, 0);
2363
Array.Copy(vtvalue.
InstanceBytes
,
InstanceBytes
,
InstanceBytes
.Length);
2370
|| vtvalue.
InstanceBytes
.Length !=
InstanceBytes
.Length)
2376
for (int i = 0; i <
InstanceBytes
.Length; i++)
2378
if (
InstanceBytes
[i] != ((ValueTypeValue)value).
InstanceBytes
[i])
2391
builder.EmitBytes(
InstanceBytes
);
2396
data =
InstanceBytes
;
2402
if (
InstanceBytes
.Length != size)
2406
return
InstanceBytes
;
2554
Array.Copy(guidValue.
InstanceBytes
, _parent._guidBytes[_index], _parent._guidBytes[_index].Length);
3136
byte[] src = srcVal.
InstanceBytes
;
3155
Array.Copy(PointedToBytes, PointedToOffset, result.
InstanceBytes
, 0, result.
InstanceBytes
.Length);
3378
Debug.Assert(valueToStore.
InstanceBytes
.Length == _elementSize);
3379
Array.Copy(valueToStore.
InstanceBytes
, 0, _data, index * _elementSize, valueToStore.
InstanceBytes
.Length);
3392
Array.Copy(_data, index * _elementSize, result.
InstanceBytes
, 0, _elementSize);
3557
Array.Copy(valuetype.
InstanceBytes
, 0, result._data, type.Context.Target.PointerSize, valuetype.
InstanceBytes
.Length);
3572
Array.Copy(_data, type.Context.Target.PointerSize, result.
InstanceBytes
, 0, result.
InstanceBytes
.Length);
3644
Array.Copy(_instanceBytes, _offset + fieldOffset, result.
InstanceBytes
, 0, fieldSize);
3682
Array.Copy(vtValue.
InstanceBytes
, 0, _instanceBytes, _offset + fieldOffset, fieldSize);