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

ProcessAttribute() protected method

protected ProcessAttribute ( Attribute attribute ) : void
attribute System.Attribute
return void
            protected override void ProcessAttribute(Attribute attribute)
            {
                debug ("NAMESPACE ATTRIBUTE: {0}", attribute);
                switch (attribute.DwarfAttribute) {
                case DwarfAttribute.name:
                    name = (string) attribute.Data;
                    break;
                case DwarfAttribute.extension:
                    debug ("NAMESPACE EXTENSION: {0}", attribute);
                    extension = comp_unit.GetNamespace ((long) attribute.Data);
                    break;
                }
            }