public override void VisitExportedTypeRow(ExportedTypeRow row)
 {
     m_binaryWriter.Write((uint)row.Flags);
     m_binaryWriter.Write(row.TypeDefId);
     WriteStringPointer(row.TypeName);
     WriteStringPointer(row.TypeNamespace);
     WriteMetadataToken(row.Implementation, CodedIndex.Implementation);
 }
 public override void VisitExportedTypeRow(ExportedTypeRow row)
 {
     row.Flags          = (Mono.Cecil.TypeAttributes)m_binaryReader.ReadUInt32();
     row.TypeDefId      = m_binaryReader.ReadUInt32();
     row.TypeName       = ReadByIndexSize(m_stringsHeapIdxSz);
     row.TypeNamespace  = ReadByIndexSize(m_stringsHeapIdxSz);
     row.Implementation = Utilities.GetMetadataToken(CodedIndex.Implementation,
                                                     ReadByIndexSize(GetCodedIndexSize(CodedIndex.Implementation)));
 }
        public ExportedTypeRow CreateExportedTypeRow(TypeAttributes _flags, uint _typeDefId, uint _typeName, uint _typeNamespace, MetadataToken _implementation)
        {
            ExportedTypeRow row = new ExportedTypeRow();

            row.Flags          = _flags;
            row.TypeDefId      = _typeDefId;
            row.TypeName       = _typeName;
            row.TypeNamespace  = _typeNamespace;
            row.Implementation = _implementation;
            return(row);
        }
예제 #4
0
 public override void VisitExportedTypeRow(ExportedTypeRow row)
 {
     m_binaryWriter.Write ((uint) row.Flags);
     m_binaryWriter.Write (row.TypeDefId);
     WriteStringPointer (row.TypeName);
     WriteStringPointer (row.TypeNamespace);
     WriteMetadataToken (row.Implementation, CodedIndex.Implementation);
 }
예제 #5
0
 public ExportedTypeRow CreateExportedTypeRow(TypeAttributes _flags, uint _typeDefId, uint _typeName, uint _typeNamespace, MetadataToken _implementation)
 {
     ExportedTypeRow row = new ExportedTypeRow ();
     row.Flags = _flags;
     row.TypeDefId = _typeDefId;
     row.TypeName = _typeName;
     row.TypeNamespace = _typeNamespace;
     row.Implementation = _implementation;
     return row;
 }
예제 #6
0
 public override void VisitExportedTypeRow(ExportedTypeRow row)
 {
     row.Flags = (Mono.Cecil.TypeAttributes) m_binaryReader.ReadUInt32 ();
     row.TypeDefId = m_binaryReader.ReadUInt32 ();
     row.TypeName = ReadByIndexSize (m_stringsHeapIdxSz);
     row.TypeNamespace = ReadByIndexSize (m_stringsHeapIdxSz);
     row.Implementation = Utilities.GetMetadataToken (CodedIndex.Implementation,
         ReadByIndexSize (GetCodedIndexSize (CodedIndex.Implementation)));
 }