示例#1
0
 protected override TypeRefRow ReadRow(TableHeap heap)
 {
     return(new TypeRefRow(
                heap.ReadCodedToken(CodedTokenType.ResolutionScope),
                heap.ReadString(),
                heap.ReadString()
                ));
 }
示例#2
0
 protected override ExportedTypeRow ReadRow(TableHeap heap)
 {
     return(new ExportedTypeRow(
                (TypeAttributes)heap.ReadUInt32(),
                heap.ReadUInt32(),
                heap.ReadString(),
                heap.ReadString(),
                heap.ReadCodedToken(CodedTokenType.Implementation)
                ));
 }
示例#3
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()
                ));
 }
示例#4
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()
                ));
 }
示例#5
0
 protected override EventRow ReadRow(TableHeap heap)
 {
     return(new EventRow(
                (EventAttributes)heap.ReadUInt16(),
                heap.ReadString(),
                heap.ReadCodedToken(CodedTokenType.TypeDefOrRef)
                ));
 }
示例#6
0
 protected override PropertyRow ReadRow(TableHeap heap)
 {
     return(new PropertyRow(
                (PropertyAttributes)heap.ReadUInt16(),
                heap.ReadString(),
                heap.ReadBlob()
                ));
 }
示例#7
0
 protected override FileRow ReadRow(TableHeap heap)
 {
     return(new FileRow(
                (FileAttributes)heap.ReadUInt32(),
                heap.ReadString(),
                heap.ReadBlob()
                ));
 }
示例#8
0
 protected override ParamRow ReadRow(TableHeap heap)
 {
     return(new ParamRow(
                (ParameterAttributes)heap.ReadUInt16(),
                heap.ReadUInt16(),
                heap.ReadString()
                ));
 }
示例#9
0
 protected override MemberRefRow ReadRow(TableHeap heap)
 {
     return(new MemberRefRow(
                heap.ReadCodedToken(CodedTokenType.MemberRefParent),
                heap.ReadString(),
                heap.ReadBlob()
                ));
 }
示例#10
0
 protected override ManifestResourceRow ReadRow(TableHeap heap)
 {
     return(new ManifestResourceRow(
                heap.ReadUInt32(),
                (ManifestResourceAttributes)heap.ReadUInt32(),
                heap.ReadString(),
                heap.ReadCodedToken(CodedTokenType.Implementation)
                ));
 }
示例#11
0
 protected override GenericParamRow ReadRow(TableHeap heap)
 {
     return(new GenericParamRow(
                heap.ReadUInt16(),
                (GenericParameterAttributes)heap.ReadUInt16(),
                heap.ReadCodedToken(CodedTokenType.TypeOrMethodDef),
                heap.ReadString()
                ));
 }
示例#12
0
 protected override ImplMapRow ReadRow(TableHeap heap)
 {
     return(new ImplMapRow(
                (MethodImplAttributes)heap.ReadUInt16(),
                heap.ReadCodedToken(CodedTokenType.MemberForwarded),
                heap.ReadString(),
                heap.ReadToken(MetadataTokenType.ModuleRef)
                ));
 }
示例#13
0
 protected override ModuleRow ReadRow(TableHeap heap)
 {
     return(new ModuleRow(
                heap.ReadUInt16(),
                heap.ReadString(),
                heap.ReadGuid(),
                heap.ReadUInt16(),
                heap.ReadUInt16()
                ));
 }
示例#14
0
 protected override MethodRow ReadRow(TableHeap heap)
 {
     return(new MethodRow(
                heap.ReadUInt32(),
                (MethodImplAttributes)heap.ReadUInt16(),
                (MethodAttributes)heap.ReadUInt16(),
                heap.ReadString(),
                heap.ReadBlob(),
                heap.ReadUInt16()
                ));
 }
示例#15
0
 protected override ModuleRefRow ReadRow(TableHeap heap)
 {
     return(new ModuleRefRow(heap.ReadString()));
 }