Mono.Debugger.Backend.DwarfReader.DieType.DieType C# (CSharp) Method

DieType() public method

public DieType ( DwarfBinaryReader reader, CompilationUnit comp_unit, long offset, AbbrevEntry abbrev ) : System
reader DwarfBinaryReader
comp_unit CompilationUnit
offset long
abbrev AbbrevEntry
return System
            public DieType(DwarfBinaryReader reader, CompilationUnit comp_unit,
					long offset, AbbrevEntry abbrev)
                : base(reader, comp_unit, abbrev)
            {
                this.offset = offset;
                this.language = reader.Bfd.NativeLanguage;
                comp_unit.AddType (offset, this);

                if (specification != null) {
                    if ((name == null) && (specification.name != null))
                        name = specification.Name;
                }

                if (name != null) {
                    if (comp_unit.CurrentNamespace != null)
                        name = comp_unit.CurrentNamespace + "::" + name;
                    comp_unit.DwarfReader.AddType (this);
                }
            }