Ejemplo n.º 1
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.º 2
0
 public override void VisitManifestResourceRow(ManifestResourceRow row)
 {
     row.Offset         = m_binaryReader.ReadUInt32();
     row.Flags          = (CilStrip.Mono.Cecil.ManifestResourceAttributes)m_binaryReader.ReadUInt32();
     row.Name           = ReadByIndexSize(m_stringsHeapIdxSz);
     row.Implementation = Utilities.GetMetadataToken(CodedIndex.Implementation,
                                                     ReadByIndexSize(GetCodedIndexSize(CodedIndex.Implementation)));
 }
Ejemplo n.º 3
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);
        }