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; 727m_length += 8; 735m_length += 4; 743m_length += 8; 763AddFixup(label, m_length++, 1); 768m_length += 4; 790m_length += 4; 887m_length += 2; 896m_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); 726BinaryPrimitives.WriteInt64LittleEndian(m_ILStream.AsSpan(m_length), arg); 734BinaryPrimitives.WriteInt32LittleEndian(m_ILStream.AsSpan(m_length), BitConverter.SingleToInt32Bits(arg)); 742BinaryPrimitives.WriteInt64LittleEndian(m_ILStream.AsSpan(m_length), BitConverter.DoubleToInt64Bits(arg)); 767AddFixup(label, m_length, 4); 789AddFixup(labels[i], m_length, remaining); 886BinaryPrimitives.WriteInt16LittleEndian(m_ILStream.AsSpan(m_length), (short)tempVal); 931__ExceptionInfo exceptionInfo = new __ExceptionInfo(m_length, endLabel); 983current.Done(m_length); 997current.MarkFilterAddr(m_length); 1030current.MarkCatchAddr(m_length, exceptionType); 1047current.MarkFaultAddr(m_length); 1067catchEndAddr = m_length; 1078catchEndAddr = m_length; 1079current.MarkFinallyAddr(m_length, catchEndAddr); 1131m_labelList[labelIndex].m_pos = m_length; 1214m_ScopeTree.AddScopeInfo(ScopeAction.Open, m_length); 1219m_ScopeTree.AddScopeInfo(ScopeAction.Close, m_length); 1222public override int ILOffset => m_length;