示例#1
0
 protected override ParamRow ReadRow(TableHeap heap)
 {
     return(new ParamRow(
                (ParameterAttributes)heap.ReadUInt16(),
                heap.ReadUInt16(),
                heap.ReadString()
                ));
 }
示例#2
0
 protected override GenericParamRow ReadRow(TableHeap heap)
 {
     return(new GenericParamRow(
                heap.ReadUInt16(),
                (GenericParameterAttributes)heap.ReadUInt16(),
                heap.ReadCodedToken(CodedTokenType.TypeOrMethodDef),
                heap.ReadString()
                ));
 }
示例#3
0
 protected override ModuleRow ReadRow(TableHeap heap)
 {
     return(new ModuleRow(
                heap.ReadUInt16(),
                heap.ReadString(),
                heap.ReadGuid(),
                heap.ReadUInt16(),
                heap.ReadUInt16()
                ));
 }
示例#4
0
 protected override MethodRow ReadRow(TableHeap heap)
 {
     return(new MethodRow(
                heap.ReadUInt32(),
                (MethodImplAttributes)heap.ReadUInt16(),
                (MethodAttributes)heap.ReadUInt16(),
                heap.ReadString(),
                heap.ReadBlob(),
                heap.ReadUInt16()
                ));
 }
示例#5
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()
                ));
 }
示例#6
0
 protected override AssemblyRow ReadRow(TableHeap heap)
 {
     return(new AssemblyRow(
                (AssemblyHashAlgorithm)heap.ReadUInt32(),
                heap.ReadUInt16(),
                heap.ReadUInt16(),
                heap.ReadUInt16(),
                heap.ReadUInt16(),
                (AssemblyAttributes)heap.ReadUInt32(),
                heap.ReadBlob(),
                heap.ReadString(),
                heap.ReadString()
                ));
 }
示例#7
0
 protected override EventRow ReadRow(TableHeap heap)
 {
     return(new EventRow(
                (EventAttributes)heap.ReadUInt16(),
                heap.ReadString(),
                heap.ReadCodedToken(CodedTokenType.TypeDefOrRef)
                ));
 }
示例#8
0
 protected override DeclSecurityRow ReadRow(TableHeap heap)
 {
     return(new DeclSecurityRow(
                heap.ReadUInt16(),
                heap.ReadCodedToken(CodedTokenType.HasDeclSecurity),
                heap.ReadBlob()
                ));
 }
示例#9
0
 protected override PropertyRow ReadRow(TableHeap heap)
 {
     return(new PropertyRow(
                (PropertyAttributes)heap.ReadUInt16(),
                heap.ReadString(),
                heap.ReadBlob()
                ));
 }
示例#10
0
 protected override MethodSemanticsRow ReadRow(TableHeap heap)
 {
     return(new MethodSemanticsRow(
                (MethodSemanticsAttributes)heap.ReadUInt16(),
                heap.ReadToken(MetadataTokenType.Method),
                heap.ReadCodedToken(CodedTokenType.HasSemantics)
                ));
 }
示例#11
0
 protected override ClassLayoutRow ReadRow(TableHeap heap)
 {
     return(new ClassLayoutRow(
                heap.ReadUInt16(),
                heap.ReadUInt32(),
                heap.ReadToken(MetadataTokenType.TypeDef)
                ));
 }
示例#12
0
 protected override ConstantRow ReadRow(TableHeap heap)
 {
     return(new ConstantRow(
                (ElementType)heap.ReadUInt16(),
                heap.ReadCodedToken(CodedTokenType.HasConstant),
                heap.ReadBlob()
                ));
 }
示例#13
0
 protected override FieldRow ReadRow(TableHeap heap)
 {
     return(new FieldRow(
                (FieldAttributes)heap.ReadUInt16(),
                heap.ReadString(),
                heap.ReadBlob()
                ));
 }
示例#14
0
 protected override ImplMapRow ReadRow(TableHeap heap)
 {
     return(new ImplMapRow(
                (MethodImplAttributes)heap.ReadUInt16(),
                heap.ReadCodedToken(CodedTokenType.MemberForwarded),
                heap.ReadString(),
                heap.ReadToken(MetadataTokenType.ModuleRef)
                ));
 }