Esempio n. 1
0
        public void PersistIndexes(WriterContext ctxt)
        {
            AssemblyTable.PersistIndexes(ctxt);
            AssemblyOSTable.PersistIndexes(ctxt);
            AssemblyProcessorTable.PersistIndexes(ctxt);
            AssemblyRefTable.PersistIndexes(ctxt);
            AssemblyRefOSTable.PersistIndexes(ctxt);
            AssemblyRefProcessorTable.PersistIndexes(ctxt);
            ClassLayoutTable.PersistIndexes(ctxt);
            ConstantTable.PersistIndexes(ctxt);
            CustomAttributeTable.PersistIndexes(ctxt);
            DeclSecurityTable.PersistIndexes(ctxt);
            EventMapTable.PersistIndexes(ctxt);
            EventTable.PersistIndexes(ctxt);
            ExportedTypeTable.PersistIndexes(ctxt);
            FieldTable.PersistIndexes(ctxt);
            FieldLayoutTable.PersistIndexes(ctxt);
            FieldMarshalTable.PersistIndexes(ctxt);
            FieldRVATable.PersistIndexes(ctxt);
            FileTable.PersistIndexes(ctxt);
            GenericParamTable.PersistIndexes(ctxt);
            GenericParamConstraintTable.PersistIndexes(ctxt);
            ImplMapTable.PersistIndexes(ctxt);
            InterfaceImplTable.PersistIndexes(ctxt);
            ManifestResourceTable.PersistIndexes(ctxt);
            MemberRefTable.PersistIndexes(ctxt);
            MethodDefTable.PersistIndexes(ctxt);
            MethodImplTable.PersistIndexes(ctxt);
            MethodSemanticsTable.PersistIndexes(ctxt);
            MethodSpecTable.PersistIndexes(ctxt);
            ModuleTable.PersistIndexes(ctxt);
            ModuleRefTable.PersistIndexes(ctxt);
            NestedClassTable.PersistIndexes(ctxt);
            ParamTable.PersistIndexes(ctxt);
            PropertyTable.PersistIndexes(ctxt);
            PropertyMapTable.PersistIndexes(ctxt);
            StandAloneSigTable.PersistIndexes(ctxt);
            TypeDefTable.PersistIndexes(ctxt);
            TypeRefTable.PersistIndexes(ctxt);
            TypeSpecTable.PersistIndexes(ctxt);

            throw new InvalidOperationException();
#if false
            IsStringStreamBig = ctxt.StringHeap.Size >= 0x10000;
            IsGuidStreamBig   = ctxt.GuidHeap.Size >= 0x10000;
            IsBlobStreamBig   = ctxt.BlobHeap.Size >= 0x10000;
#endif
            DetermineIndexCodingSizes();
        }