Mono.Cecil.Cil.PortablePdbWriter.CheckMethodDebugInformationTable C# (CSharp) Method

CheckMethodDebugInformationTable() private method

private CheckMethodDebugInformationTable ( ) : void
return void
        void CheckMethodDebugInformationTable()
        {
            var mdi = pdb_metadata.table_heap.GetTable<MethodDebugInformationTable> (Table.MethodDebugInformation);
            if (mdi.length > 0)
                return;

            // The MethodDebugInformation table has the same length as the Method table
            mdi.rows = new Row<uint, uint> [module_metadata.method_rid - 1];
            mdi.length = mdi.rows.Length;
        }