コード例 #1
0
 public override void Write(TableHeapBuffer buffer)
 {
     for (int i = 0; i < length; i++)
     {
         buffer.WriteUInt16((ushort)rows [i].Col1);                      // Attributes
         buffer.WriteUInt16(rows [i].Col2);                              // Sequence
         buffer.WriteString(rows [i].Col3);                              // Name
     }
 }
コード例 #2
0
 public override void Write(TableHeapBuffer buffer)
 {
     for (int i = 0; i < length; i++)
     {
         buffer.WriteUInt16(rows [i].Col1);                               // Number
         buffer.WriteUInt16((ushort)rows [i].Col2);                       // Flags
         buffer.WriteCodedRID(rows [i].Col3, CodedIndex.TypeOrMethodDef); // Owner
         buffer.WriteString(rows [i].Col4);                               // Name
     }
 }
コード例 #3
0
 public override void Write(TableHeapBuffer buffer)
 {
     for (int i = 0; i < length; i++)
     {
         buffer.WriteUInt16(0);          // Generation
         buffer.WriteString(rows [i]);   // Name
         buffer.WriteUInt16(1);          // Mvid
         buffer.WriteUInt16(0);          // EncId
         buffer.WriteUInt16(0);          // EncBaseId
     }
 }
コード例 #4
0
 public override void Write(TableHeapBuffer buffer)
 {
     for (int i = 0; i < length; i++)
     {
         buffer.WriteUInt32(rows [i].Col1);                              // RVA
         buffer.WriteUInt16((ushort)rows [i].Col2);                      // ImplFlags
         buffer.WriteUInt16((ushort)rows [i].Col3);                      // Flags
         buffer.WriteString(rows [i].Col4);                              // Name
         buffer.WriteBlob(rows [i].Col5);                                // Signature
         buffer.WriteRID(rows [i].Col6, Table.Param);                    // ParamList
     }
 }
コード例 #5
0
 public override void Write(TableHeapBuffer buffer)
 {
     for (int i = 0; i < length; i++)
     {
         buffer.WriteUInt16(rows [i].Col1);                              // MajorVersion
         buffer.WriteUInt16(rows [i].Col2);                              // MinorVersion
         buffer.WriteUInt16(rows [i].Col3);                              // Build
         buffer.WriteUInt16(rows [i].Col4);                              // Revision
         buffer.WriteUInt32((uint)rows [i].Col5);                        // Flags
         buffer.WriteBlob(rows [i].Col6);                                // PublicKeyOrToken
         buffer.WriteString(rows [i].Col7);                              // Name
         buffer.WriteString(rows [i].Col8);                              // Culture
         buffer.WriteBlob(rows [i].Col9);                                // Hash
     }
 }
コード例 #6
0
 public override void Write(TableHeapBuffer buffer)
 {
     for (int i = 0; i < length; i++)
     {
         buffer.WriteUInt16((ushort)rows [i].Col1);                      // Flags
         buffer.WriteRID(rows [i].Col2, Table.Method);                   // Method
         buffer.WriteCodedRID(rows [i].Col3, CodedIndex.HasSemantics);   // Association
     }
 }
コード例 #7
0
 public override void Write(TableHeapBuffer buffer)
 {
     for (int i = 0; i < length; i++)
     {
         buffer.WriteUInt16((ushort)rows [i].Col1);                      // Flags
         buffer.WriteString(rows [i].Col2);                              // Name
         buffer.WriteBlob(rows [i].Col3);                                // Type
     }
 }
コード例 #8
0
 public override void Write(TableHeapBuffer buffer)
 {
     for (int i = 0; i < length; i++)
     {
         buffer.WriteUInt16((ushort)rows [i].Col1);                      // Flags
         buffer.WriteString(rows [i].Col2);                              // Name
         buffer.WriteCodedRID(rows [i].Col3, CodedIndex.TypeDefOrRef);   // EventType
     }
 }
コード例 #9
0
 public override void Write(TableHeapBuffer buffer)
 {
     for (int i = 0; i < length; i++)
     {
         buffer.WriteUInt16(rows [i].Col1);                              // PackingSize
         buffer.WriteUInt32(rows [i].Col2);                              // ClassSize
         buffer.WriteRID(rows [i].Col3, Table.TypeDef);                  // Parent
     }
 }
コード例 #10
0
 public override void Write(TableHeapBuffer buffer)
 {
     for (int i = 0; i < length; i++)
     {
         buffer.WriteUInt16((ushort)rows [i].Col1);
         buffer.WriteCodedRID(rows [i].Col2, CodedIndex.HasDeclSecurity);
         buffer.WriteBlob(rows [i].Col3);
     }
 }
コード例 #11
0
 public override void Write(TableHeapBuffer buffer)
 {
     for (int i = 0; i < length; i++)
     {
         buffer.WriteUInt16((ushort)rows [i].Col1);                       // Flags
         buffer.WriteCodedRID(rows [i].Col2, CodedIndex.MemberForwarded); // MemberForwarded
         buffer.WriteString(rows [i].Col3);                               // ImportName
         buffer.WriteRID(rows [i].Col4, Table.ModuleRef);                 // ImportScope
     }
 }