Ejemplo n.º 1
0
        public override void VisitMethodSemanticsTable(MethodSemanticsTable table)
        {
            int number = m_rows [MethodSemanticsTable.RId];

            table.Rows = new RowCollection(number);
            for (int i = 0; i < number; i++)
            {
                table.Rows.Add(new MethodSemanticsRow());
            }
        }
Ejemplo n.º 2
0
        public MethodSemanticsTable GetMethodSemanticsTable()
        {
            MethodSemanticsTable table = m_heap [MethodSemanticsTable.RId] as MethodSemanticsTable;

            if (table != null)
            {
                return(table);
            }

            table = new MethodSemanticsTable();
            InitializeTable(table);
            return(table);
        }