예제 #1
0
 protected override EventMapRow ReadRow(TableHeap heap)
 {
     return(new EventMapRow(
                heap.ReadToken(MetadataTokenType.TypeDef),
                heap.ReadToken(MetadataTokenType.Event)
                ));
 }
예제 #2
0
 protected override PropertyMapRow ReadRow(TableHeap heap)
 {
     return(new PropertyMapRow(
                heap.ReadToken(MetadataTokenType.TypeDef),
                heap.ReadToken(MetadataTokenType.Property)
                ));
 }
예제 #3
0
 protected override NestedClassRow ReadRow(TableHeap heap)
 {
     return(new NestedClassRow(
                heap.ReadToken(MetadataTokenType.TypeDef),
                heap.ReadToken(MetadataTokenType.TypeDef)
                ));
 }
예제 #4
0
 protected override InterfaceImplRow ReadRow(TableHeap heap)
 {
     return(new InterfaceImplRow(
                heap.ReadToken(MetadataTokenType.TypeDef),
                heap.ReadCodedToken(CodedTokenType.TypeDefOrRef)
                ));
 }
예제 #5
0
 protected override GenericParamConstraintRow ReadRow(TableHeap heap)
 {
     return(new GenericParamConstraintRow(
                heap.ReadToken(MetadataTokenType.GenericParam),
                heap.ReadCodedToken(CodedTokenType.TypeDefOrRef)
                ));
 }
예제 #6
0
 protected override FieldLayoutRow ReadRow(TableHeap heap)
 {
     return(new FieldLayoutRow(
                heap.ReadUInt32(),
                heap.ReadToken(MetadataTokenType.Field)
                ));
 }
예제 #7
0
 protected override MethodSemanticsRow ReadRow(TableHeap heap)
 {
     return(new MethodSemanticsRow(
                (MethodSemanticsAttributes)heap.ReadUInt16(),
                heap.ReadToken(MetadataTokenType.Method),
                heap.ReadCodedToken(CodedTokenType.HasSemantics)
                ));
 }
예제 #8
0
 protected override MethodImplRow ReadRow(TableHeap heap)
 {
     return(new MethodImplRow(
                heap.ReadToken(MetadataTokenType.TypeDef),
                heap.ReadCodedToken(CodedTokenType.MethodDefOrRef),
                heap.ReadCodedToken(CodedTokenType.MethodDefOrRef)
                ));
 }
예제 #9
0
 protected override ClassLayoutRow ReadRow(TableHeap heap)
 {
     return(new ClassLayoutRow(
                heap.ReadUInt16(),
                heap.ReadUInt32(),
                heap.ReadToken(MetadataTokenType.TypeDef)
                ));
 }
예제 #10
0
 protected override ImplMapRow ReadRow(TableHeap heap)
 {
     return(new ImplMapRow(
                (MethodImplAttributes)heap.ReadUInt16(),
                heap.ReadCodedToken(CodedTokenType.MemberForwarded),
                heap.ReadString(),
                heap.ReadToken(MetadataTokenType.ModuleRef)
                ));
 }