protected override CustomAttributeRow ReadRow(TableHeap heap)
 {
     return(new CustomAttributeRow(
                heap.ReadCodedToken(CodedTokenType.HasCustomAttribute),
                heap.ReadCodedToken(CodedTokenType.CustomAttributeType),
                heap.ReadBlob()
                ));
 }
Exemple #2
0
 protected override MethodImplRow ReadRow(TableHeap heap)
 {
     return(new MethodImplRow(
                heap.ReadToken(MetadataTokenType.TypeDef),
                heap.ReadCodedToken(CodedTokenType.MethodDefOrRef),
                heap.ReadCodedToken(CodedTokenType.MethodDefOrRef)
                ));
 }
Exemple #3
0
 protected override MethodSpecRow ReadRow(TableHeap heap)
 {
     return(new MethodSpecRow(
                heap.ReadCodedToken(CodedTokenType.MethodDefOrRef),
                heap.ReadBlob()
                ));
 }
Exemple #4
0
 protected override GenericParamConstraintRow ReadRow(TableHeap heap)
 {
     return(new GenericParamConstraintRow(
                heap.ReadToken(MetadataTokenType.GenericParam),
                heap.ReadCodedToken(CodedTokenType.TypeDefOrRef)
                ));
 }
Exemple #5
0
 protected override InterfaceImplRow ReadRow(TableHeap heap)
 {
     return(new InterfaceImplRow(
                heap.ReadToken(MetadataTokenType.TypeDef),
                heap.ReadCodedToken(CodedTokenType.TypeDefOrRef)
                ));
 }
 protected override FieldMarshalRow ReadRow(TableHeap heap)
 {
     return(new FieldMarshalRow(
                heap.ReadCodedToken(CodedTokenType.HasFieldMarshal),
                heap.ReadBlob()
                ));
 }
Exemple #7
0
 protected override MethodSemanticsRow ReadRow(TableHeap heap)
 {
     return(new MethodSemanticsRow(
                (MethodSemanticsAttributes)heap.ReadUInt16(),
                heap.ReadToken(MetadataTokenType.Method),
                heap.ReadCodedToken(CodedTokenType.HasSemantics)
                ));
 }
Exemple #8
0
 protected override MemberRefRow ReadRow(TableHeap heap)
 {
     return(new MemberRefRow(
                heap.ReadCodedToken(CodedTokenType.MemberRefParent),
                heap.ReadString(),
                heap.ReadBlob()
                ));
 }
Exemple #9
0
 protected override TypeRefRow ReadRow(TableHeap heap)
 {
     return(new TypeRefRow(
                heap.ReadCodedToken(CodedTokenType.ResolutionScope),
                heap.ReadString(),
                heap.ReadString()
                ));
 }
Exemple #10
0
 protected override ConstantRow ReadRow(TableHeap heap)
 {
     return(new ConstantRow(
                (ElementType)heap.ReadUInt16(),
                heap.ReadCodedToken(CodedTokenType.HasConstant),
                heap.ReadBlob()
                ));
 }
Exemple #11
0
 protected override EventRow ReadRow(TableHeap heap)
 {
     return(new EventRow(
                (EventAttributes)heap.ReadUInt16(),
                heap.ReadString(),
                heap.ReadCodedToken(CodedTokenType.TypeDefOrRef)
                ));
 }
Exemple #12
0
 protected override DeclSecurityRow ReadRow(TableHeap heap)
 {
     return(new DeclSecurityRow(
                heap.ReadUInt16(),
                heap.ReadCodedToken(CodedTokenType.HasDeclSecurity),
                heap.ReadBlob()
                ));
 }
Exemple #13
0
 protected override ImplMapRow ReadRow(TableHeap heap)
 {
     return(new ImplMapRow(
                (MethodImplAttributes)heap.ReadUInt16(),
                heap.ReadCodedToken(CodedTokenType.MemberForwarded),
                heap.ReadString(),
                heap.ReadToken(MetadataTokenType.ModuleRef)
                ));
 }
Exemple #14
0
 protected override ManifestResourceRow ReadRow(TableHeap heap)
 {
     return(new ManifestResourceRow(
                heap.ReadUInt32(),
                (ManifestResourceAttributes)heap.ReadUInt32(),
                heap.ReadString(),
                heap.ReadCodedToken(CodedTokenType.Implementation)
                ));
 }
Exemple #15
0
 protected override GenericParamRow ReadRow(TableHeap heap)
 {
     return(new GenericParamRow(
                heap.ReadUInt16(),
                (GenericParameterAttributes)heap.ReadUInt16(),
                heap.ReadCodedToken(CodedTokenType.TypeOrMethodDef),
                heap.ReadString()
                ));
 }
Exemple #16
0
 protected override ExportedTypeRow ReadRow(TableHeap heap)
 {
     return(new ExportedTypeRow(
                (TypeAttributes)heap.ReadUInt32(),
                heap.ReadUInt32(),
                heap.ReadString(),
                heap.ReadString(),
                heap.ReadCodedToken(CodedTokenType.Implementation)
                ));
 }
Exemple #17
0
 protected override TypeDefRow ReadRow(TableHeap heap)
 {
     return(new TypeDefRow(
                (TypeAttributes)heap.ReadUInt32(),
                heap.ReadString(),
                heap.ReadString(),
                heap.ReadCodedToken(CodedTokenType.TypeDefOrRef),
                heap.ReadUInt16(),
                heap.ReadUInt16()
                ));
 }