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; 737m_length += 8; 745m_length += 4; 753m_length += 8; 773AddFixup(label, m_length++, 1); 778m_length += 4; 800m_length += 4; 897m_length += 2; 906m_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); 736BinaryPrimitives.WriteInt64LittleEndian(m_ILStream.AsSpan(m_length), arg); 744BinaryPrimitives.WriteInt32LittleEndian(m_ILStream.AsSpan(m_length), BitConverter.SingleToInt32Bits(arg)); 752BinaryPrimitives.WriteInt64LittleEndian(m_ILStream.AsSpan(m_length), BitConverter.DoubleToInt64Bits(arg)); 777AddFixup(label, m_length, 4); 799AddFixup(labels[i], m_length, remaining); 896BinaryPrimitives.WriteInt16LittleEndian(m_ILStream.AsSpan(m_length), (short)tempVal); 941__ExceptionInfo exceptionInfo = new __ExceptionInfo(m_length, endLabel); 993current.Done(m_length); 1007current.MarkFilterAddr(m_length); 1040current.MarkCatchAddr(m_length, exceptionType); 1057current.MarkFaultAddr(m_length); 1077catchEndAddr = m_length; 1088catchEndAddr = m_length; 1089current.MarkFinallyAddr(m_length, catchEndAddr); 1141m_labelList[labelIndex].m_pos = m_length; 1224m_ScopeTree.AddScopeInfo(ScopeAction.Open, m_length); 1229m_ScopeTree.AddScopeInfo(ScopeAction.Close, m_length); 1232public override int ILOffset => m_length;