Exemplo n.º 1
0
 public override void VisitAssemblyRefOSRow(AssemblyRefOSRow row)
 {
     m_binaryWriter.Write(row.OSPlatformID);
     m_binaryWriter.Write(row.OSMajorVersion);
     m_binaryWriter.Write(row.OSMinorVersion);
     WriteTablePointer(row.AssemblyRef, AssemblyRefTable.RId);
 }
Exemplo n.º 2
0
 public override void VisitAssemblyRefOSRow(AssemblyRefOSRow row)
 {
     row.OSPlatformID   = m_binaryReader.ReadUInt32();
     row.OSMajorVersion = m_binaryReader.ReadUInt32();
     row.OSMinorVersion = m_binaryReader.ReadUInt32();
     row.AssemblyRef    = ReadByIndexSize(GetIndexSize(AssemblyRefTable.RId));
 }
Exemplo n.º 3
0
        public AssemblyRefOSRow CreateAssemblyRefOSRow(uint _oSPlatformID, uint _oSMajorVersion, uint _oSMinorVersion, uint _assemblyRef)
        {
            AssemblyRefOSRow row = new AssemblyRefOSRow();

            row.OSPlatformID   = _oSPlatformID;
            row.OSMajorVersion = _oSMajorVersion;
            row.OSMinorVersion = _oSMinorVersion;
            row.AssemblyRef    = _assemblyRef;
            return(row);
        }