public override void VisitMethodRow(MethodRow row) { row.RVA = new RVA(m_binaryReader.ReadUInt32()); row.ImplFlags = (Mono.Cecil.MethodImplAttributes)m_binaryReader.ReadUInt16(); row.Flags = (Mono.Cecil.MethodAttributes)m_binaryReader.ReadUInt16(); row.Name = ReadByIndexSize(m_stringsHeapIdxSz); row.Signature = ReadByIndexSize(m_blobHeapIdxSz); row.ParamList = ReadByIndexSize(GetIndexSize(ParamTable.RId)); }
public override void VisitMethodRow(MethodRow row) { m_binaryWriter.Write(row.RVA.Value); m_binaryWriter.Write((ushort)row.ImplFlags); m_binaryWriter.Write((ushort)row.Flags); WriteStringPointer(row.Name); WriteBlobPointer(row.Signature); WriteTablePointer(row.ParamList, ParamTable.RId); }
public MethodRow CreateMethodRow(RVA _rVA, MethodImplAttributes _implFlags, MethodAttributes _flags, uint _name, uint _signature, uint _paramList) { MethodRow row = new MethodRow(); row.RVA = _rVA; row.ImplFlags = _implFlags; row.Flags = _flags; row.Name = _name; row.Signature = _signature; row.ParamList = _paramList; return(row); }
public override void VisitMethodRow(MethodRow row) { m_binaryWriter.Write (row.RVA.Value); m_binaryWriter.Write ((ushort) row.ImplFlags); m_binaryWriter.Write ((ushort) row.Flags); WriteStringPointer (row.Name); WriteBlobPointer (row.Signature); WriteTablePointer (row.ParamList, ParamTable.RId); }
public MethodRow CreateMethodRow(RVA _rVA, MethodImplAttributes _implFlags, MethodAttributes _flags, uint _name, uint _signature, uint _paramList) { MethodRow row = new MethodRow (); row.RVA = _rVA; row.ImplFlags = _implFlags; row.Flags = _flags; row.Name = _name; row.Signature = _signature; row.ParamList = _paramList; return row; }
public override void VisitMethodRow(MethodRow row) { row.RVA = new RVA (m_binaryReader.ReadUInt32 ()); row.ImplFlags = (Mono.Cecil.MethodImplAttributes) m_binaryReader.ReadUInt16 (); row.Flags = (Mono.Cecil.MethodAttributes) m_binaryReader.ReadUInt16 (); row.Name = ReadByIndexSize (m_stringsHeapIdxSz); row.Signature = ReadByIndexSize (m_blobHeapIdxSz); row.ParamList = ReadByIndexSize (GetIndexSize (ParamTable.RId)); }