public override void VisitManifestResourceRow(ManifestResourceRow row)
 {
     m_binaryWriter.Write(row.Offset);
     m_binaryWriter.Write((uint)row.Flags);
     WriteStringPointer(row.Name);
     WriteMetadataToken(row.Implementation, CodedIndex.Implementation);
 }
 public override void VisitManifestResourceRow(ManifestResourceRow row)
 {
     row.Offset         = m_binaryReader.ReadUInt32();
     row.Flags          = (Mono.Cecil.ManifestResourceAttributes)m_binaryReader.ReadUInt32();
     row.Name           = ReadByIndexSize(m_stringsHeapIdxSz);
     row.Implementation = Utilities.GetMetadataToken(CodedIndex.Implementation,
                                                     ReadByIndexSize(GetCodedIndexSize(CodedIndex.Implementation)));
 }
        public ManifestResourceRow CreateManifestResourceRow(uint _offset, ManifestResourceAttributes _flags, uint _name, MetadataToken _implementation)
        {
            ManifestResourceRow row = new ManifestResourceRow();

            row.Offset         = _offset;
            row.Flags          = _flags;
            row.Name           = _name;
            row.Implementation = _implementation;
            return(row);
        }
Ejemplo n.º 4
0
 public override void VisitManifestResourceRow(ManifestResourceRow row)
 {
     m_binaryWriter.Write (row.Offset);
     m_binaryWriter.Write ((uint) row.Flags);
     WriteStringPointer (row.Name);
     WriteMetadataToken (row.Implementation, CodedIndex.Implementation);
 }
Ejemplo n.º 5
0
 public ManifestResourceRow CreateManifestResourceRow(uint _offset, ManifestResourceAttributes _flags, uint _name, MetadataToken _implementation)
 {
     ManifestResourceRow row = new ManifestResourceRow ();
     row.Offset = _offset;
     row.Flags = _flags;
     row.Name = _name;
     row.Implementation = _implementation;
     return row;
 }
Ejemplo n.º 6
0
 public override void VisitManifestResourceRow(ManifestResourceRow row)
 {
     row.Offset = m_binaryReader.ReadUInt32 ();
     row.Flags = (Mono.Cecil.ManifestResourceAttributes) m_binaryReader.ReadUInt32 ();
     row.Name = ReadByIndexSize (m_stringsHeapIdxSz);
     row.Implementation = Utilities.GetMetadataToken (CodedIndex.Implementation,
         ReadByIndexSize (GetCodedIndexSize (CodedIndex.Implementation)));
 }