Mono.Debugger.Backend.DwarfReader.DieSubprogram.CreateDie C# (CSharp) Method

CreateDie() protected method

protected CreateDie ( DwarfBinaryReader reader, CompilationUnit comp_unit, long offset, AbbrevEntry abbrev ) : Die
reader DwarfBinaryReader
comp_unit CompilationUnit
offset long
abbrev AbbrevEntry
return Die
            protected override Die CreateDie(DwarfBinaryReader reader, CompilationUnit comp_unit,
							  long offset, AbbrevEntry abbrev)
            {
                switch (abbrev.Tag) {
                case DwarfTag.formal_parameter:
                    return new DieFormalParameter (this, reader, comp_unit, abbrev);

                case DwarfTag.variable:
                    return new DieVariable (this, reader, comp_unit, abbrev);

                case DwarfTag.lexical_block:
                    return new DieLexicalBlock (this, reader, comp_unit, abbrev);

                default:
                    return base.CreateDie (reader, comp_unit, offset, abbrev);
                }
            }