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