13 writes to m_length
System.Private.CoreLib (13)
src\System\Reflection\Emit\RuntimeILGenerator.cs (13)
124m_length += 2; 128m_ILStream[m_length++] = (byte)opcodeValue; 270m_length += 4; 385m_ILStream[m_length++] = arg; 394m_length += 2; 733m_length += 8; 741m_length += 4; 749m_length += 8; 769AddFixup(label, m_length++, 1); 774m_length += 4; 796m_length += 4; 893m_length += 2; 902m_ILStream[m_length++] = (byte)tempVal;
27 references to m_length
System.Private.CoreLib (27)
src\System\Reflection\Emit\RuntimeILGenerator.cs (27)
115m_RelocFixupList[m_RelocFixupCount++] = m_length; 123BinaryPrimitives.WriteInt16BigEndian(m_ILStream.AsSpan(m_length), opcodeValue); 193if (m_length == 0) 197byte[] newBytes = new byte[m_length]; 200Array.Copy(m_ILStream, newBytes, m_length); 253if (m_length + size >= m_ILStream.Length) 261byte[] temp = new byte[Math.Max(m_ILStream.Length * 2, m_length + size)]; 269BinaryPrimitives.WriteInt32LittleEndian(m_ILStream.AsSpan(m_length), value); 393BinaryPrimitives.WriteInt16LittleEndian(m_ILStream.AsSpan(m_length), arg); 732BinaryPrimitives.WriteInt64LittleEndian(m_ILStream.AsSpan(m_length), arg); 740BinaryPrimitives.WriteInt32LittleEndian(m_ILStream.AsSpan(m_length), BitConverter.SingleToInt32Bits(arg)); 748BinaryPrimitives.WriteInt64LittleEndian(m_ILStream.AsSpan(m_length), BitConverter.DoubleToInt64Bits(arg)); 773AddFixup(label, m_length, 4); 795AddFixup(labels[i], m_length, remaining); 892BinaryPrimitives.WriteInt16LittleEndian(m_ILStream.AsSpan(m_length), (short)tempVal); 937__ExceptionInfo exceptionInfo = new __ExceptionInfo(m_length, endLabel); 989current.Done(m_length); 1003current.MarkFilterAddr(m_length); 1036current.MarkCatchAddr(m_length, exceptionType); 1053current.MarkFaultAddr(m_length); 1073catchEndAddr = m_length; 1084catchEndAddr = m_length; 1085current.MarkFinallyAddr(m_length, catchEndAddr); 1137m_labelList[labelIndex].m_pos = m_length; 1220m_ScopeTree.AddScopeInfo(ScopeAction.Open, m_length); 1225m_ScopeTree.AddScopeInfo(ScopeAction.Close, m_length); 1228public override int ILOffset => m_length;