Beispiel #1
0
 protected override void WriteRow(ManifestResourceRow row, TableHeap heap)
 {
     heap.WriteUInt32(row.Offset);
     heap.WriteUInt32((uint)row.Attributes);
     heap.WriteString(row.Name);
     heap.WriteCodedToken(row.Implementation, CodedTokenType.Implementation);
 }
Beispiel #2
0
 protected override void WriteRow(GenericParamRow row, TableHeap heap)
 {
     heap.WriteUInt16(row.Number);
     heap.WriteUInt16((ushort)row.Attributes);
     heap.WriteCodedToken(row.Owner, CodedTokenType.TypeOrMethodDef);
     heap.WriteString(row.Name);
 }
Beispiel #3
0
 protected override void WriteRow(ImplMapRow row, TableHeap heap)
 {
     heap.WriteUInt16((ushort)row.Attributes);
     heap.WriteCodedToken(row.MemberForwarded, CodedTokenType.MemberForwarded);
     heap.WriteString(row.ImportName);
     heap.WriteToken(row.ImportScope);
 }
Beispiel #4
0
 protected override void WriteRow(ExportedTypeRow row, TableHeap heap)
 {
     heap.WriteUInt32((uint)row.Attributes);
     heap.WriteUInt32(row.TypeDefId);
     heap.WriteString(row.TypeName);
     heap.WriteString(row.TypeNamespace);
     heap.WriteCodedToken(row.Implementation, CodedTokenType.Implementation);
 }
Beispiel #5
0
 protected override void WriteRow(TypeDefRow row, TableHeap heap)
 {
     heap.WriteUInt32((uint)row.Attributes);
     heap.WriteString(row.Name);
     heap.WriteString(row.Namespace);
     heap.WriteCodedToken(row.Extends, CodedTokenType.TypeDefOrRef);
     heap.WriteUInt16(row.FieldList);
     heap.WriteUInt16(row.MethodList);
 }
Beispiel #6
0
 protected override void WriteRow(EventRow row, TableHeap heap)
 {
     heap.WriteUInt16((ushort)row.Attributes);
     heap.WriteString(row.Name);
     heap.WriteCodedToken(row.EventType, CodedTokenType.TypeDefOrRef);
 }
Beispiel #7
0
 protected override void WriteRow(GenericParamConstraintRow row, TableHeap heap)
 {
     heap.WriteToken(row.Owner);
     heap.WriteCodedToken(row.Constraint, CodedTokenType.TypeDefOrRef);
 }
Beispiel #8
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 #10
0
 protected override void WriteRow(MemberRefRow row, TableHeap heap)
 {
     heap.WriteCodedToken(row.Class, CodedTokenType.MemberRefParent);
     heap.WriteString(row.Name);
     heap.WriteBlob(row.Signature);
 }
Beispiel #11
0
 protected override void WriteRow(MethodSpecRow row, TableHeap heap)
 {
     heap.WriteCodedToken(row.Method, CodedTokenType.MethodDefOrRef);
     heap.WriteBlob(row.Instantiation);
 }
Beispiel #12
0
 protected override void WriteRow(MethodSemanticsRow row, TableHeap heap)
 {
     heap.WriteUInt16((ushort)row.Attributes);
     heap.WriteToken(row.Method);
     heap.WriteCodedToken(row.Association, CodedTokenType.HasSemantics);
 }
Beispiel #13
0
 protected override void WriteRow(MethodImplRow row, TableHeap heap)
 {
     heap.WriteToken(row.Class);
     heap.WriteCodedToken(row.MethodBody, CodedTokenType.MethodDefOrRef);
     heap.WriteCodedToken(row.MethodDeclaration, CodedTokenType.MethodDefOrRef);
 }
Beispiel #14
0
 protected override void WriteRow(InterfaceImplRow row, TableHeap heap)
 {
     heap.WriteToken(row.Class);
     heap.WriteCodedToken(row.Interface, CodedTokenType.TypeDefOrRef);
 }
Beispiel #15
0
 protected override void WriteRow(TypeRefRow row, TableHeap heap)
 {
     heap.WriteCodedToken(row.ResolutionScope, CodedTokenType.ResolutionScope);
     heap.WriteString(row.Name);
     heap.WriteString(row.Namespace);
 }
 protected override void WriteRow(FieldMarshalRow row, TableHeap heap)
 {
     heap.WriteCodedToken(row.Parent, CodedTokenType.HasFieldMarshal);
     heap.WriteBlob(row.NativeType);
 }
Beispiel #17
0
 protected override void WriteRow(ConstantRow row, TableHeap heap)
 {
     heap.WriteUInt16((ushort)row.Type);
     heap.WriteCodedToken(row.Parent, CodedTokenType.HasConstant);
     heap.WriteBlob(row.Value);
 }