Beispiel #1
0
 protected override void WriteRow(AssemblyRefRow row, TableHeap heap)
 {
     heap.WriteUInt16(row.MajorVersion);
     heap.WriteUInt16(row.MinorVersion);
     heap.WriteUInt16(row.BuildNumber);
     heap.WriteUInt16(row.RevisionNumber);
     heap.WriteUInt32((uint)row.Attributes);
     heap.WriteBlob(row.PublicKeyOrToken);
     heap.WriteString(row.Name);
     heap.WriteString(row.Culture);
     heap.WriteBlob(row.HashValue);
 }
Beispiel #2
0
 protected override void WriteRow(MethodRow row, TableHeap heap)
 {
     heap.WriteUInt32(row.RVA);
     heap.WriteUInt16((ushort)row.ImplAttributes);
     heap.WriteUInt16((ushort)row.Attributes);
     heap.WriteString(row.Name);
     heap.WriteBlob(row.Signature);
     heap.WriteUInt16(row.ParamList);
 }
 protected override void WriteRow(FieldMarshalRow row, TableHeap heap)
 {
     heap.WriteCodedToken(row.Parent, CodedTokenType.HasFieldMarshal);
     heap.WriteBlob(row.NativeType);
 }
Beispiel #4
0
 protected override void WriteRow(DeclSecurityRow row, TableHeap heap)
 {
     heap.WriteUInt16(row.Action);
     heap.WriteCodedToken(row.Parent, CodedTokenType.HasDeclSecurity);
     heap.WriteBlob(row.PermissionSet);
 }
 protected override void WriteRow(CustomAttributeRow row, TableHeap heap)
 {
     heap.WriteCodedToken(row.Parent, CodedTokenType.HasCustomAttribute);
     heap.WriteCodedToken(row.Type, CodedTokenType.CustomAttributeType);
     heap.WriteBlob(row.Value);
 }
Beispiel #6
0
 protected override void WriteRow(PropertyRow row, TableHeap heap)
 {
     heap.WriteUInt16((ushort)row.Attributes);
     heap.WriteString(row.Name);
     heap.WriteBlob(row.Type);
 }
Beispiel #7
0
 protected override void WriteRow(MethodSpecRow row, TableHeap heap)
 {
     heap.WriteCodedToken(row.Method, CodedTokenType.MethodDefOrRef);
     heap.WriteBlob(row.Instantiation);
 }
Beispiel #8
0
 protected override void WriteRow(FileRow row, TableHeap heap)
 {
     heap.WriteUInt32((uint)row.Attributes);
     heap.WriteString(row.Name);
     heap.WriteBlob(row.HashValue);
 }
Beispiel #9
0
 protected override void WriteRow(MemberRefRow row, TableHeap heap)
 {
     heap.WriteCodedToken(row.Class, CodedTokenType.MemberRefParent);
     heap.WriteString(row.Name);
     heap.WriteBlob(row.Signature);
 }
 protected override void WriteRow(StandAloneSigRow row, TableHeap heap)
 {
     heap.WriteBlob(row.Signature);
 }
Beispiel #11
0
 protected override void WriteRow(TypeSpecRow row, TableHeap heap)
 {
     heap.WriteBlob(row.Signature);
 }
Beispiel #12
0
 protected override void WriteRow(ConstantRow row, TableHeap heap)
 {
     heap.WriteUInt16((ushort)row.Type);
     heap.WriteCodedToken(row.Parent, CodedTokenType.HasConstant);
     heap.WriteBlob(row.Value);
 }
Beispiel #13
0
 protected override void WriteRow(FieldRow row, TableHeap heap)
 {
     heap.WriteUInt16((ushort)row.Attributes);
     heap.WriteString(row.Name);
     heap.WriteBlob(row.Signature);
 }