2 writes to m_ILStream
System.Private.CoreLib (2)
src\System\Reflection\Emit\RuntimeILGenerator.cs (2)
90
m_ILStream
= new byte[Math.Max(size, DefaultSize)];
263
m_ILStream
= temp;
15 references to m_ILStream
System.Private.CoreLib (15)
src\System\Reflection\Emit\RuntimeILGenerator.cs (15)
123
BinaryPrimitives.WriteInt16BigEndian(
m_ILStream
.AsSpan(m_length), opcodeValue);
128
m_ILStream
[m_length++] = (byte)opcodeValue;
200
Array.Copy(
m_ILStream
, newBytes, m_length);
253
if (m_length + size >=
m_ILStream
.Length)
261
byte[] temp = new byte[Math.Max(
m_ILStream
.Length * 2, m_length + size)];
262
Array.Copy(
m_ILStream
, temp,
m_ILStream
.Length);
269
BinaryPrimitives.WriteInt32LittleEndian(
m_ILStream
.AsSpan(m_length), value);
385
m_ILStream
[m_length++] = arg;
393
BinaryPrimitives.WriteInt16LittleEndian(
m_ILStream
.AsSpan(m_length), arg);
726
BinaryPrimitives.WriteInt64LittleEndian(
m_ILStream
.AsSpan(m_length), arg);
734
BinaryPrimitives.WriteInt32LittleEndian(
m_ILStream
.AsSpan(m_length), BitConverter.SingleToInt32Bits(arg));
742
BinaryPrimitives.WriteInt64LittleEndian(
m_ILStream
.AsSpan(m_length), BitConverter.DoubleToInt64Bits(arg));
886
BinaryPrimitives.WriteInt16LittleEndian(
m_ILStream
.AsSpan(m_length), (short)tempVal);
896
m_ILStream
[m_length++] = (byte)tempVal;