13 writes to m_length
System.Private.CoreLib (13)
src\System\Reflection\Emit\RuntimeILGenerator.cs (13)
124
m_length
+= 2;
128
m_ILStream[
m_length
++] = (byte)opcodeValue;
270
m_length
+= 4;
385
m_ILStream[
m_length
++] = arg;
394
m_length
+= 2;
727
m_length
+= 8;
735
m_length
+= 4;
743
m_length
+= 8;
763
AddFixup(label,
m_length
++, 1);
768
m_length
+= 4;
790
m_length
+= 4;
887
m_length
+= 2;
896
m_ILStream[
m_length
++] = (byte)tempVal;
27 references to m_length
System.Private.CoreLib (27)
src\System\Reflection\Emit\RuntimeILGenerator.cs (27)
115
m_RelocFixupList[m_RelocFixupCount++] =
m_length
;
123
BinaryPrimitives.WriteInt16BigEndian(m_ILStream.AsSpan(
m_length
), opcodeValue);
193
if (
m_length
== 0)
197
byte[] newBytes = new byte[
m_length
];
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)];
269
BinaryPrimitives.WriteInt32LittleEndian(m_ILStream.AsSpan(
m_length
), value);
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));
767
AddFixup(label,
m_length
, 4);
789
AddFixup(labels[i],
m_length
, remaining);
886
BinaryPrimitives.WriteInt16LittleEndian(m_ILStream.AsSpan(
m_length
), (short)tempVal);
931
__ExceptionInfo exceptionInfo = new __ExceptionInfo(
m_length
, endLabel);
983
current.Done(
m_length
);
997
current.MarkFilterAddr(
m_length
);
1030
current.MarkCatchAddr(
m_length
, exceptionType);
1047
current.MarkFaultAddr(
m_length
);
1067
catchEndAddr =
m_length
;
1078
catchEndAddr =
m_length
;
1079
current.MarkFinallyAddr(
m_length
, catchEndAddr);
1131
m_labelList[labelIndex].m_pos =
m_length
;
1214
m_ScopeTree.AddScopeInfo(ScopeAction.Open,
m_length
);
1219
m_ScopeTree.AddScopeInfo(ScopeAction.Close,
m_length
);
1222
public override int ILOffset =>
m_length
;