コード例 #1
0
 protected override ManifestResourceRow ReadRow(TableHeap heap)
 {
     return(new ManifestResourceRow(
                heap.ReadUInt32(),
                (ManifestResourceAttributes)heap.ReadUInt32(),
                heap.ReadString(),
                heap.ReadCodedToken(CodedTokenType.Implementation)
                ));
 }
コード例 #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 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()
                ));
 }
コード例 #4
0
 protected override FieldLayoutRow ReadRow(TableHeap heap)
 {
     return(new FieldLayoutRow(
                heap.ReadUInt32(),
                heap.ReadToken(MetadataTokenType.Field)
                ));
 }
コード例 #5
0
 protected override FileRow ReadRow(TableHeap heap)
 {
     return(new FileRow(
                (FileAttributes)heap.ReadUInt32(),
                heap.ReadString(),
                heap.ReadBlob()
                ));
 }
コード例 #6
0
 protected override ClassLayoutRow ReadRow(TableHeap heap)
 {
     return(new ClassLayoutRow(
                heap.ReadUInt16(),
                heap.ReadUInt32(),
                heap.ReadToken(MetadataTokenType.TypeDef)
                ));
 }
コード例 #7
0
ファイル: MethodTable.cs プロジェクト: vCipher/CSharpCompiler
 protected override MethodRow ReadRow(TableHeap heap)
 {
     return(new MethodRow(
                heap.ReadUInt32(),
                (MethodImplAttributes)heap.ReadUInt16(),
                (MethodAttributes)heap.ReadUInt16(),
                heap.ReadString(),
                heap.ReadBlob(),
                heap.ReadUInt16()
                ));
 }
コード例 #8
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()
                ));
 }