コード例 #1
0
        public ParamRow CreateParamRow(ParameterAttributes _flags, ushort _sequence, uint _name)
        {
            ParamRow row = new ParamRow();

            row.Flags    = _flags;
            row.Sequence = _sequence;
            row.Name     = _name;
            return(row);
        }
コード例 #2
0
 public override void VisitParamRow(ParamRow row)
 {
     row.Flags    = (CilStrip.Mono.Cecil.ParameterAttributes)m_binaryReader.ReadUInt16();
     row.Sequence = m_binaryReader.ReadUInt16();
     row.Name     = ReadByIndexSize(m_stringsHeapIdxSz);
 }
コード例 #3
0
 public override void VisitParamRow(ParamRow row)
 {
     m_binaryWriter.Write((ushort)row.Flags);
     m_binaryWriter.Write(row.Sequence);
     WriteStringPointer(row.Name);
 }