2 writes to _instructions
ILCompiler.TypeSystem (2)
parent\parent\Common\TypeSystem\IL\Stubs\ILEmitter.cs (2)
40
_instructions
= Array.Empty<byte>();
79
Array.Resize(ref
_instructions
, 2 * _instructions.Length + 10);
9 references to _instructions
ILCompiler.TypeSystem (9)
parent\parent\Common\TypeSystem\IL\Stubs\ILEmitter.cs (9)
53
if (_length ==
_instructions
.Length)
55
_instructions
[_length++] = b;
60
if (_length + sizeof(ushort) >
_instructions
.Length)
63
BinaryPrimitives.WriteUInt16LittleEndian(
_instructions
.AsSpan(_length, sizeof(ushort)), value);
69
if (_length + sizeof(int) >
_instructions
.Length)
72
BinaryPrimitives.WriteInt32LittleEndian(
_instructions
.AsSpan(_length, sizeof(int)), value);
79
Array.Resize(ref _instructions, 2 *
_instructions
.Length + 10);
482
Span<byte> offsetSpan =
_instructions
.AsSpan(patch.Offset, sizeof(int));
781
Array.Copy(ilCodeStream.
_instructions
, 0, ilInstructions, copiedLength, ilCodeStream._length);