Beispiel #1
0
		public override void VisitTableCollection (TableCollection coll)
		{
			WriteCount (ModuleTable.RId);
			WriteCount (TypeRefTable.RId);
			WriteCount (TypeDefTable.RId);
			WriteCount (FieldPtrTable.RId);
			WriteCount (FieldTable.RId);
			WriteCount (MethodPtrTable.RId);
			WriteCount (MethodTable.RId);
			WriteCount (ParamPtrTable.RId);
			WriteCount (ParamTable.RId);
			WriteCount (InterfaceImplTable.RId);
			WriteCount (MemberRefTable.RId);
			WriteCount (ConstantTable.RId);
			WriteCount (CustomAttributeTable.RId);
			WriteCount (FieldMarshalTable.RId);
			WriteCount (DeclSecurityTable.RId);
			WriteCount (ClassLayoutTable.RId);
			WriteCount (FieldLayoutTable.RId);
			WriteCount (StandAloneSigTable.RId);
			WriteCount (EventMapTable.RId);
			WriteCount (EventPtrTable.RId);
			WriteCount (EventTable.RId);
			WriteCount (PropertyMapTable.RId);
			WriteCount (PropertyPtrTable.RId);
			WriteCount (PropertyTable.RId);
			WriteCount (MethodSemanticsTable.RId);
			WriteCount (MethodImplTable.RId);
			WriteCount (ModuleRefTable.RId);
			WriteCount (TypeSpecTable.RId);
			WriteCount (ImplMapTable.RId);
			WriteCount (FieldRVATable.RId);
			WriteCount (AssemblyTable.RId);
			WriteCount (AssemblyProcessorTable.RId);
			WriteCount (AssemblyOSTable.RId);
			WriteCount (AssemblyRefTable.RId);
			WriteCount (AssemblyRefProcessorTable.RId);
			WriteCount (AssemblyRefOSTable.RId);
			WriteCount (FileTable.RId);
			WriteCount (ExportedTypeTable.RId);
			WriteCount (ManifestResourceTable.RId);
			WriteCount (NestedClassTable.RId);
			WriteCount (GenericParamTable.RId);
			WriteCount (MethodSpecTable.RId);
			WriteCount (GenericParamConstraintTable.RId);
		}
 public override void VisitTableCollection(TableCollection coll)
 {
     if (m_heap.HasTable (ModuleTable.RId)) {
         coll.Add (new ModuleTable ());
         m_rows [ModuleTable.RId] = m_binaryReader.ReadInt32 ();
     }
     if (m_heap.HasTable (TypeRefTable.RId)) {
         coll.Add (new TypeRefTable ());
         m_rows [TypeRefTable.RId] = m_binaryReader.ReadInt32 ();
     }
     if (m_heap.HasTable (TypeDefTable.RId)) {
         coll.Add (new TypeDefTable ());
         m_rows [TypeDefTable.RId] = m_binaryReader.ReadInt32 ();
     }
     if (m_heap.HasTable (FieldPtrTable.RId)) {
         coll.Add (new FieldPtrTable ());
         m_rows [FieldPtrTable.RId] = m_binaryReader.ReadInt32 ();
     }
     if (m_heap.HasTable (FieldTable.RId)) {
         coll.Add (new FieldTable ());
         m_rows [FieldTable.RId] = m_binaryReader.ReadInt32 ();
     }
     if (m_heap.HasTable (MethodPtrTable.RId)) {
         coll.Add (new MethodPtrTable ());
         m_rows [MethodPtrTable.RId] = m_binaryReader.ReadInt32 ();
     }
     if (m_heap.HasTable (MethodTable.RId)) {
         coll.Add (new MethodTable ());
         m_rows [MethodTable.RId] = m_binaryReader.ReadInt32 ();
     }
     if (m_heap.HasTable (ParamPtrTable.RId)) {
         coll.Add (new ParamPtrTable ());
         m_rows [ParamPtrTable.RId] = m_binaryReader.ReadInt32 ();
     }
     if (m_heap.HasTable (ParamTable.RId)) {
         coll.Add (new ParamTable ());
         m_rows [ParamTable.RId] = m_binaryReader.ReadInt32 ();
     }
     if (m_heap.HasTable (InterfaceImplTable.RId)) {
         coll.Add (new InterfaceImplTable ());
         m_rows [InterfaceImplTable.RId] = m_binaryReader.ReadInt32 ();
     }
     if (m_heap.HasTable (MemberRefTable.RId)) {
         coll.Add (new MemberRefTable ());
         m_rows [MemberRefTable.RId] = m_binaryReader.ReadInt32 ();
     }
     if (m_heap.HasTable (ConstantTable.RId)) {
         coll.Add (new ConstantTable ());
         m_rows [ConstantTable.RId] = m_binaryReader.ReadInt32 ();
     }
     if (m_heap.HasTable (CustomAttributeTable.RId)) {
         coll.Add (new CustomAttributeTable ());
         m_rows [CustomAttributeTable.RId] = m_binaryReader.ReadInt32 ();
     }
     if (m_heap.HasTable (FieldMarshalTable.RId)) {
         coll.Add (new FieldMarshalTable ());
         m_rows [FieldMarshalTable.RId] = m_binaryReader.ReadInt32 ();
     }
     if (m_heap.HasTable (DeclSecurityTable.RId)) {
         coll.Add (new DeclSecurityTable ());
         m_rows [DeclSecurityTable.RId] = m_binaryReader.ReadInt32 ();
     }
     if (m_heap.HasTable (ClassLayoutTable.RId)) {
         coll.Add (new ClassLayoutTable ());
         m_rows [ClassLayoutTable.RId] = m_binaryReader.ReadInt32 ();
     }
     if (m_heap.HasTable (FieldLayoutTable.RId)) {
         coll.Add (new FieldLayoutTable ());
         m_rows [FieldLayoutTable.RId] = m_binaryReader.ReadInt32 ();
     }
     if (m_heap.HasTable (StandAloneSigTable.RId)) {
         coll.Add (new StandAloneSigTable ());
         m_rows [StandAloneSigTable.RId] = m_binaryReader.ReadInt32 ();
     }
     if (m_heap.HasTable (EventMapTable.RId)) {
         coll.Add (new EventMapTable ());
         m_rows [EventMapTable.RId] = m_binaryReader.ReadInt32 ();
     }
     if (m_heap.HasTable (EventPtrTable.RId)) {
         coll.Add (new EventPtrTable ());
         m_rows [EventPtrTable.RId] = m_binaryReader.ReadInt32 ();
     }
     if (m_heap.HasTable (EventTable.RId)) {
         coll.Add (new EventTable ());
         m_rows [EventTable.RId] = m_binaryReader.ReadInt32 ();
     }
     if (m_heap.HasTable (PropertyMapTable.RId)) {
         coll.Add (new PropertyMapTable ());
         m_rows [PropertyMapTable.RId] = m_binaryReader.ReadInt32 ();
     }
     if (m_heap.HasTable (PropertyPtrTable.RId)) {
         coll.Add (new PropertyPtrTable ());
         m_rows [PropertyPtrTable.RId] = m_binaryReader.ReadInt32 ();
     }
     if (m_heap.HasTable (PropertyTable.RId)) {
         coll.Add (new PropertyTable ());
         m_rows [PropertyTable.RId] = m_binaryReader.ReadInt32 ();
     }
     if (m_heap.HasTable (MethodSemanticsTable.RId)) {
         coll.Add (new MethodSemanticsTable ());
         m_rows [MethodSemanticsTable.RId] = m_binaryReader.ReadInt32 ();
     }
     if (m_heap.HasTable (MethodImplTable.RId)) {
         coll.Add (new MethodImplTable ());
         m_rows [MethodImplTable.RId] = m_binaryReader.ReadInt32 ();
     }
     if (m_heap.HasTable (ModuleRefTable.RId)) {
         coll.Add (new ModuleRefTable ());
         m_rows [ModuleRefTable.RId] = m_binaryReader.ReadInt32 ();
     }
     if (m_heap.HasTable (TypeSpecTable.RId)) {
         coll.Add (new TypeSpecTable ());
         m_rows [TypeSpecTable.RId] = m_binaryReader.ReadInt32 ();
     }
     if (m_heap.HasTable (ImplMapTable.RId)) {
         coll.Add (new ImplMapTable ());
         m_rows [ImplMapTable.RId] = m_binaryReader.ReadInt32 ();
     }
     if (m_heap.HasTable (FieldRVATable.RId)) {
         coll.Add (new FieldRVATable ());
         m_rows [FieldRVATable.RId] = m_binaryReader.ReadInt32 ();
     }
     if (m_heap.HasTable (AssemblyTable.RId)) {
         coll.Add (new AssemblyTable ());
         m_rows [AssemblyTable.RId] = m_binaryReader.ReadInt32 ();
     }
     if (m_heap.HasTable (AssemblyProcessorTable.RId)) {
         coll.Add (new AssemblyProcessorTable ());
         m_rows [AssemblyProcessorTable.RId] = m_binaryReader.ReadInt32 ();
     }
     if (m_heap.HasTable (AssemblyOSTable.RId)) {
         coll.Add (new AssemblyOSTable ());
         m_rows [AssemblyOSTable.RId] = m_binaryReader.ReadInt32 ();
     }
     if (m_heap.HasTable (AssemblyRefTable.RId)) {
         coll.Add (new AssemblyRefTable ());
         m_rows [AssemblyRefTable.RId] = m_binaryReader.ReadInt32 ();
     }
     if (m_heap.HasTable (AssemblyRefProcessorTable.RId)) {
         coll.Add (new AssemblyRefProcessorTable ());
         m_rows [AssemblyRefProcessorTable.RId] = m_binaryReader.ReadInt32 ();
     }
     if (m_heap.HasTable (AssemblyRefOSTable.RId)) {
         coll.Add (new AssemblyRefOSTable ());
         m_rows [AssemblyRefOSTable.RId] = m_binaryReader.ReadInt32 ();
     }
     if (m_heap.HasTable (FileTable.RId)) {
         coll.Add (new FileTable ());
         m_rows [FileTable.RId] = m_binaryReader.ReadInt32 ();
     }
     if (m_heap.HasTable (ExportedTypeTable.RId)) {
         coll.Add (new ExportedTypeTable ());
         m_rows [ExportedTypeTable.RId] = m_binaryReader.ReadInt32 ();
     }
     if (m_heap.HasTable (ManifestResourceTable.RId)) {
         coll.Add (new ManifestResourceTable ());
         m_rows [ManifestResourceTable.RId] = m_binaryReader.ReadInt32 ();
     }
     if (m_heap.HasTable (NestedClassTable.RId)) {
         coll.Add (new NestedClassTable ());
         m_rows [NestedClassTable.RId] = m_binaryReader.ReadInt32 ();
     }
     if (m_heap.HasTable (GenericParamTable.RId)) {
         coll.Add (new GenericParamTable ());
         m_rows [GenericParamTable.RId] = m_binaryReader.ReadInt32 ();
     }
     if (m_heap.HasTable (MethodSpecTable.RId)) {
         coll.Add (new MethodSpecTable ());
         m_rows [MethodSpecTable.RId] = m_binaryReader.ReadInt32 ();
     }
     if (m_heap.HasTable (GenericParamConstraintTable.RId)) {
         coll.Add (new GenericParamConstraintTable ());
         m_rows [GenericParamConstraintTable.RId] = m_binaryReader.ReadInt32 ();
     }
 }
 public override void VisitTableCollection(TableCollection coll)
 {
     if (m_heap.HasTable(ModuleTable.RId))
     {
         coll.Add(new ModuleTable());
         m_rows [ModuleTable.RId] = m_binaryReader.ReadInt32();
     }
     if (m_heap.HasTable(TypeRefTable.RId))
     {
         coll.Add(new TypeRefTable());
         m_rows [TypeRefTable.RId] = m_binaryReader.ReadInt32();
     }
     if (m_heap.HasTable(TypeDefTable.RId))
     {
         coll.Add(new TypeDefTable());
         m_rows [TypeDefTable.RId] = m_binaryReader.ReadInt32();
     }
     if (m_heap.HasTable(FieldTable.RId))
     {
         coll.Add(new FieldTable());
         m_rows [FieldTable.RId] = m_binaryReader.ReadInt32();
     }
     if (m_heap.HasTable(MethodTable.RId))
     {
         coll.Add(new MethodTable());
         m_rows [MethodTable.RId] = m_binaryReader.ReadInt32();
     }
     if (m_heap.HasTable(ParamTable.RId))
     {
         coll.Add(new ParamTable());
         m_rows [ParamTable.RId] = m_binaryReader.ReadInt32();
     }
     if (m_heap.HasTable(InterfaceImplTable.RId))
     {
         coll.Add(new InterfaceImplTable());
         m_rows [InterfaceImplTable.RId] = m_binaryReader.ReadInt32();
     }
     if (m_heap.HasTable(MemberRefTable.RId))
     {
         coll.Add(new MemberRefTable());
         m_rows [MemberRefTable.RId] = m_binaryReader.ReadInt32();
     }
     if (m_heap.HasTable(ConstantTable.RId))
     {
         coll.Add(new ConstantTable());
         m_rows [ConstantTable.RId] = m_binaryReader.ReadInt32();
     }
     if (m_heap.HasTable(CustomAttributeTable.RId))
     {
         coll.Add(new CustomAttributeTable());
         m_rows [CustomAttributeTable.RId] = m_binaryReader.ReadInt32();
     }
     if (m_heap.HasTable(FieldMarshalTable.RId))
     {
         coll.Add(new FieldMarshalTable());
         m_rows [FieldMarshalTable.RId] = m_binaryReader.ReadInt32();
     }
     if (m_heap.HasTable(DeclSecurityTable.RId))
     {
         coll.Add(new DeclSecurityTable());
         m_rows [DeclSecurityTable.RId] = m_binaryReader.ReadInt32();
     }
     if (m_heap.HasTable(ClassLayoutTable.RId))
     {
         coll.Add(new ClassLayoutTable());
         m_rows [ClassLayoutTable.RId] = m_binaryReader.ReadInt32();
     }
     if (m_heap.HasTable(FieldLayoutTable.RId))
     {
         coll.Add(new FieldLayoutTable());
         m_rows [FieldLayoutTable.RId] = m_binaryReader.ReadInt32();
     }
     if (m_heap.HasTable(StandAloneSigTable.RId))
     {
         coll.Add(new StandAloneSigTable());
         m_rows [StandAloneSigTable.RId] = m_binaryReader.ReadInt32();
     }
     if (m_heap.HasTable(EventMapTable.RId))
     {
         coll.Add(new EventMapTable());
         m_rows [EventMapTable.RId] = m_binaryReader.ReadInt32();
     }
     if (m_heap.HasTable(EventTable.RId))
     {
         coll.Add(new EventTable());
         m_rows [EventTable.RId] = m_binaryReader.ReadInt32();
     }
     if (m_heap.HasTable(PropertyMapTable.RId))
     {
         coll.Add(new PropertyMapTable());
         m_rows [PropertyMapTable.RId] = m_binaryReader.ReadInt32();
     }
     if (m_heap.HasTable(PropertyTable.RId))
     {
         coll.Add(new PropertyTable());
         m_rows [PropertyTable.RId] = m_binaryReader.ReadInt32();
     }
     if (m_heap.HasTable(MethodSemanticsTable.RId))
     {
         coll.Add(new MethodSemanticsTable());
         m_rows [MethodSemanticsTable.RId] = m_binaryReader.ReadInt32();
     }
     if (m_heap.HasTable(MethodImplTable.RId))
     {
         coll.Add(new MethodImplTable());
         m_rows [MethodImplTable.RId] = m_binaryReader.ReadInt32();
     }
     if (m_heap.HasTable(ModuleRefTable.RId))
     {
         coll.Add(new ModuleRefTable());
         m_rows [ModuleRefTable.RId] = m_binaryReader.ReadInt32();
     }
     if (m_heap.HasTable(TypeSpecTable.RId))
     {
         coll.Add(new TypeSpecTable());
         m_rows [TypeSpecTable.RId] = m_binaryReader.ReadInt32();
     }
     if (m_heap.HasTable(ImplMapTable.RId))
     {
         coll.Add(new ImplMapTable());
         m_rows [ImplMapTable.RId] = m_binaryReader.ReadInt32();
     }
     if (m_heap.HasTable(FieldRVATable.RId))
     {
         coll.Add(new FieldRVATable());
         m_rows [FieldRVATable.RId] = m_binaryReader.ReadInt32();
     }
     if (m_heap.HasTable(AssemblyTable.RId))
     {
         coll.Add(new AssemblyTable());
         m_rows [AssemblyTable.RId] = m_binaryReader.ReadInt32();
     }
     if (m_heap.HasTable(AssemblyProcessorTable.RId))
     {
         coll.Add(new AssemblyProcessorTable());
         m_rows [AssemblyProcessorTable.RId] = m_binaryReader.ReadInt32();
     }
     if (m_heap.HasTable(AssemblyOSTable.RId))
     {
         coll.Add(new AssemblyOSTable());
         m_rows [AssemblyOSTable.RId] = m_binaryReader.ReadInt32();
     }
     if (m_heap.HasTable(AssemblyRefTable.RId))
     {
         coll.Add(new AssemblyRefTable());
         m_rows [AssemblyRefTable.RId] = m_binaryReader.ReadInt32();
     }
     if (m_heap.HasTable(AssemblyRefProcessorTable.RId))
     {
         coll.Add(new AssemblyRefProcessorTable());
         m_rows [AssemblyRefProcessorTable.RId] = m_binaryReader.ReadInt32();
     }
     if (m_heap.HasTable(AssemblyRefOSTable.RId))
     {
         coll.Add(new AssemblyRefOSTable());
         m_rows [AssemblyRefOSTable.RId] = m_binaryReader.ReadInt32();
     }
     if (m_heap.HasTable(FileTable.RId))
     {
         coll.Add(new FileTable());
         m_rows [FileTable.RId] = m_binaryReader.ReadInt32();
     }
     if (m_heap.HasTable(ExportedTypeTable.RId))
     {
         coll.Add(new ExportedTypeTable());
         m_rows [ExportedTypeTable.RId] = m_binaryReader.ReadInt32();
     }
     if (m_heap.HasTable(ManifestResourceTable.RId))
     {
         coll.Add(new ManifestResourceTable());
         m_rows [ManifestResourceTable.RId] = m_binaryReader.ReadInt32();
     }
     if (m_heap.HasTable(NestedClassTable.RId))
     {
         coll.Add(new NestedClassTable());
         m_rows [NestedClassTable.RId] = m_binaryReader.ReadInt32();
     }
     if (m_heap.HasTable(GenericParamTable.RId))
     {
         coll.Add(new GenericParamTable());
         m_rows [GenericParamTable.RId] = m_binaryReader.ReadInt32();
     }
     if (m_heap.HasTable(MethodSpecTable.RId))
     {
         coll.Add(new MethodSpecTable());
         m_rows [MethodSpecTable.RId] = m_binaryReader.ReadInt32();
     }
     if (m_heap.HasTable(GenericParamConstraintTable.RId))
     {
         coll.Add(new GenericParamConstraintTable());
         m_rows [GenericParamConstraintTable.RId] = m_binaryReader.ReadInt32();
     }
 }
 public override void VisitTableCollection(TableCollection coll)
 {
     if (m_heap.HasTable (ModuleTable.RId))
         m_binaryWriter.Write (m_heap [ModuleTable.RId].Rows.Count);
     if (m_heap.HasTable (TypeRefTable.RId))
         m_binaryWriter.Write (m_heap [TypeRefTable.RId].Rows.Count);
     if (m_heap.HasTable (TypeDefTable.RId))
         m_binaryWriter.Write (m_heap [TypeDefTable.RId].Rows.Count);
     if (m_heap.HasTable (FieldTable.RId))
         m_binaryWriter.Write (m_heap [FieldTable.RId].Rows.Count);
     if (m_heap.HasTable (MethodTable.RId))
         m_binaryWriter.Write (m_heap [MethodTable.RId].Rows.Count);
     if (m_heap.HasTable (ParamTable.RId))
         m_binaryWriter.Write (m_heap [ParamTable.RId].Rows.Count);
     if (m_heap.HasTable (InterfaceImplTable.RId))
         m_binaryWriter.Write (m_heap [InterfaceImplTable.RId].Rows.Count);
     if (m_heap.HasTable (MemberRefTable.RId))
         m_binaryWriter.Write (m_heap [MemberRefTable.RId].Rows.Count);
     if (m_heap.HasTable (ConstantTable.RId))
         m_binaryWriter.Write (m_heap [ConstantTable.RId].Rows.Count);
     if (m_heap.HasTable (CustomAttributeTable.RId))
         m_binaryWriter.Write (m_heap [CustomAttributeTable.RId].Rows.Count);
     if (m_heap.HasTable (FieldMarshalTable.RId))
         m_binaryWriter.Write (m_heap [FieldMarshalTable.RId].Rows.Count);
     if (m_heap.HasTable (DeclSecurityTable.RId))
         m_binaryWriter.Write (m_heap [DeclSecurityTable.RId].Rows.Count);
     if (m_heap.HasTable (ClassLayoutTable.RId))
         m_binaryWriter.Write (m_heap [ClassLayoutTable.RId].Rows.Count);
     if (m_heap.HasTable (FieldLayoutTable.RId))
         m_binaryWriter.Write (m_heap [FieldLayoutTable.RId].Rows.Count);
     if (m_heap.HasTable (StandAloneSigTable.RId))
         m_binaryWriter.Write (m_heap [StandAloneSigTable.RId].Rows.Count);
     if (m_heap.HasTable (EventMapTable.RId))
         m_binaryWriter.Write (m_heap [EventMapTable.RId].Rows.Count);
     if (m_heap.HasTable (EventTable.RId))
         m_binaryWriter.Write (m_heap [EventTable.RId].Rows.Count);
     if (m_heap.HasTable (PropertyMapTable.RId))
         m_binaryWriter.Write (m_heap [PropertyMapTable.RId].Rows.Count);
     if (m_heap.HasTable (PropertyTable.RId))
         m_binaryWriter.Write (m_heap [PropertyTable.RId].Rows.Count);
     if (m_heap.HasTable (MethodSemanticsTable.RId))
         m_binaryWriter.Write (m_heap [MethodSemanticsTable.RId].Rows.Count);
     if (m_heap.HasTable (MethodImplTable.RId))
         m_binaryWriter.Write (m_heap [MethodImplTable.RId].Rows.Count);
     if (m_heap.HasTable (ModuleRefTable.RId))
         m_binaryWriter.Write (m_heap [ModuleRefTable.RId].Rows.Count);
     if (m_heap.HasTable (TypeSpecTable.RId))
         m_binaryWriter.Write (m_heap [TypeSpecTable.RId].Rows.Count);
     if (m_heap.HasTable (ImplMapTable.RId))
         m_binaryWriter.Write (m_heap [ImplMapTable.RId].Rows.Count);
     if (m_heap.HasTable (FieldRVATable.RId))
         m_binaryWriter.Write (m_heap [FieldRVATable.RId].Rows.Count);
     if (m_heap.HasTable (AssemblyTable.RId))
         m_binaryWriter.Write (m_heap [AssemblyTable.RId].Rows.Count);
     if (m_heap.HasTable (AssemblyProcessorTable.RId))
         m_binaryWriter.Write (m_heap [AssemblyProcessorTable.RId].Rows.Count);
     if (m_heap.HasTable (AssemblyOSTable.RId))
         m_binaryWriter.Write (m_heap [AssemblyOSTable.RId].Rows.Count);
     if (m_heap.HasTable (AssemblyRefTable.RId))
         m_binaryWriter.Write (m_heap [AssemblyRefTable.RId].Rows.Count);
     if (m_heap.HasTable (AssemblyRefProcessorTable.RId))
         m_binaryWriter.Write (m_heap [AssemblyRefProcessorTable.RId].Rows.Count);
     if (m_heap.HasTable (AssemblyRefOSTable.RId))
         m_binaryWriter.Write (m_heap [AssemblyRefOSTable.RId].Rows.Count);
     if (m_heap.HasTable (FileTable.RId))
         m_binaryWriter.Write (m_heap [FileTable.RId].Rows.Count);
     if (m_heap.HasTable (ExportedTypeTable.RId))
         m_binaryWriter.Write (m_heap [ExportedTypeTable.RId].Rows.Count);
     if (m_heap.HasTable (ManifestResourceTable.RId))
         m_binaryWriter.Write (m_heap [ManifestResourceTable.RId].Rows.Count);
     if (m_heap.HasTable (NestedClassTable.RId))
         m_binaryWriter.Write (m_heap [NestedClassTable.RId].Rows.Count);
     if (m_heap.HasTable (GenericParamTable.RId))
         m_binaryWriter.Write (m_heap [GenericParamTable.RId].Rows.Count);
     if (m_heap.HasTable (MethodSpecTable.RId))
         m_binaryWriter.Write (m_heap [MethodSpecTable.RId].Rows.Count);
     if (m_heap.HasTable (GenericParamConstraintTable.RId))
         m_binaryWriter.Write (m_heap [GenericParamConstraintTable.RId].Rows.Count);
 }
Beispiel #5
0
 public override void VisitTableCollection(TableCollection coll)
 {
     if (m_heap.HasTable(ModuleTable.RId))
     {
         m_binaryWriter.Write(m_heap [ModuleTable.RId].Rows.Count);
     }
     if (m_heap.HasTable(TypeRefTable.RId))
     {
         m_binaryWriter.Write(m_heap [TypeRefTable.RId].Rows.Count);
     }
     if (m_heap.HasTable(TypeDefTable.RId))
     {
         m_binaryWriter.Write(m_heap [TypeDefTable.RId].Rows.Count);
     }
     if (m_heap.HasTable(FieldTable.RId))
     {
         m_binaryWriter.Write(m_heap [FieldTable.RId].Rows.Count);
     }
     if (m_heap.HasTable(MethodTable.RId))
     {
         m_binaryWriter.Write(m_heap [MethodTable.RId].Rows.Count);
     }
     if (m_heap.HasTable(ParamTable.RId))
     {
         m_binaryWriter.Write(m_heap [ParamTable.RId].Rows.Count);
     }
     if (m_heap.HasTable(InterfaceImplTable.RId))
     {
         m_binaryWriter.Write(m_heap [InterfaceImplTable.RId].Rows.Count);
     }
     if (m_heap.HasTable(MemberRefTable.RId))
     {
         m_binaryWriter.Write(m_heap [MemberRefTable.RId].Rows.Count);
     }
     if (m_heap.HasTable(ConstantTable.RId))
     {
         m_binaryWriter.Write(m_heap [ConstantTable.RId].Rows.Count);
     }
     if (m_heap.HasTable(CustomAttributeTable.RId))
     {
         m_binaryWriter.Write(m_heap [CustomAttributeTable.RId].Rows.Count);
     }
     if (m_heap.HasTable(FieldMarshalTable.RId))
     {
         m_binaryWriter.Write(m_heap [FieldMarshalTable.RId].Rows.Count);
     }
     if (m_heap.HasTable(DeclSecurityTable.RId))
     {
         m_binaryWriter.Write(m_heap [DeclSecurityTable.RId].Rows.Count);
     }
     if (m_heap.HasTable(ClassLayoutTable.RId))
     {
         m_binaryWriter.Write(m_heap [ClassLayoutTable.RId].Rows.Count);
     }
     if (m_heap.HasTable(FieldLayoutTable.RId))
     {
         m_binaryWriter.Write(m_heap [FieldLayoutTable.RId].Rows.Count);
     }
     if (m_heap.HasTable(StandAloneSigTable.RId))
     {
         m_binaryWriter.Write(m_heap [StandAloneSigTable.RId].Rows.Count);
     }
     if (m_heap.HasTable(EventMapTable.RId))
     {
         m_binaryWriter.Write(m_heap [EventMapTable.RId].Rows.Count);
     }
     if (m_heap.HasTable(EventTable.RId))
     {
         m_binaryWriter.Write(m_heap [EventTable.RId].Rows.Count);
     }
     if (m_heap.HasTable(PropertyMapTable.RId))
     {
         m_binaryWriter.Write(m_heap [PropertyMapTable.RId].Rows.Count);
     }
     if (m_heap.HasTable(PropertyTable.RId))
     {
         m_binaryWriter.Write(m_heap [PropertyTable.RId].Rows.Count);
     }
     if (m_heap.HasTable(MethodSemanticsTable.RId))
     {
         m_binaryWriter.Write(m_heap [MethodSemanticsTable.RId].Rows.Count);
     }
     if (m_heap.HasTable(MethodImplTable.RId))
     {
         m_binaryWriter.Write(m_heap [MethodImplTable.RId].Rows.Count);
     }
     if (m_heap.HasTable(ModuleRefTable.RId))
     {
         m_binaryWriter.Write(m_heap [ModuleRefTable.RId].Rows.Count);
     }
     if (m_heap.HasTable(TypeSpecTable.RId))
     {
         m_binaryWriter.Write(m_heap [TypeSpecTable.RId].Rows.Count);
     }
     if (m_heap.HasTable(ImplMapTable.RId))
     {
         m_binaryWriter.Write(m_heap [ImplMapTable.RId].Rows.Count);
     }
     if (m_heap.HasTable(FieldRVATable.RId))
     {
         m_binaryWriter.Write(m_heap [FieldRVATable.RId].Rows.Count);
     }
     if (m_heap.HasTable(AssemblyTable.RId))
     {
         m_binaryWriter.Write(m_heap [AssemblyTable.RId].Rows.Count);
     }
     if (m_heap.HasTable(AssemblyProcessorTable.RId))
     {
         m_binaryWriter.Write(m_heap [AssemblyProcessorTable.RId].Rows.Count);
     }
     if (m_heap.HasTable(AssemblyOSTable.RId))
     {
         m_binaryWriter.Write(m_heap [AssemblyOSTable.RId].Rows.Count);
     }
     if (m_heap.HasTable(AssemblyRefTable.RId))
     {
         m_binaryWriter.Write(m_heap [AssemblyRefTable.RId].Rows.Count);
     }
     if (m_heap.HasTable(AssemblyRefProcessorTable.RId))
     {
         m_binaryWriter.Write(m_heap [AssemblyRefProcessorTable.RId].Rows.Count);
     }
     if (m_heap.HasTable(AssemblyRefOSTable.RId))
     {
         m_binaryWriter.Write(m_heap [AssemblyRefOSTable.RId].Rows.Count);
     }
     if (m_heap.HasTable(FileTable.RId))
     {
         m_binaryWriter.Write(m_heap [FileTable.RId].Rows.Count);
     }
     if (m_heap.HasTable(ExportedTypeTable.RId))
     {
         m_binaryWriter.Write(m_heap [ExportedTypeTable.RId].Rows.Count);
     }
     if (m_heap.HasTable(ManifestResourceTable.RId))
     {
         m_binaryWriter.Write(m_heap [ManifestResourceTable.RId].Rows.Count);
     }
     if (m_heap.HasTable(NestedClassTable.RId))
     {
         m_binaryWriter.Write(m_heap [NestedClassTable.RId].Rows.Count);
     }
     if (m_heap.HasTable(GenericParamTable.RId))
     {
         m_binaryWriter.Write(m_heap [GenericParamTable.RId].Rows.Count);
     }
     if (m_heap.HasTable(MethodSpecTable.RId))
     {
         m_binaryWriter.Write(m_heap [MethodSpecTable.RId].Rows.Count);
     }
     if (m_heap.HasTable(GenericParamConstraintTable.RId))
     {
         m_binaryWriter.Write(m_heap [GenericParamConstraintTable.RId].Rows.Count);
     }
 }