Mono.Debugger.Backend.DwarfReader.DieNamespace.ReadChildren C# (CSharp) Method

ReadChildren() protected method

protected ReadChildren ( DwarfBinaryReader reader ) : ArrayList
reader DwarfBinaryReader
return System.Collections.ArrayList
            protected override ArrayList ReadChildren(DwarfBinaryReader reader)
            {
                string old_ns = comp_unit.CurrentNamespace;
                if (name == null)
                    comp_unit.CurrentNamespace = null;
                else if (comp_unit.CurrentNamespace != null)
                    comp_unit.CurrentNamespace = comp_unit.CurrentNamespace + "::" + name;
                else
                    comp_unit.CurrentNamespace = name;

                try {
                    debug ("NS CHILDREN: {0} -> {1}", name, comp_unit.CurrentNamespace);
                    return base.ReadChildren (reader);
                    debug ("NS CHILDREN DONE: {0}", name);
                } finally {
                    comp_unit.CurrentNamespace = old_ns;
                }
            }