Table of Contents

Class DefinitionRangeSymbol

Namespace
AsmResolver.Symbols.Pdb.Records
Assembly
AsmResolver.Symbols.Pdb.dll

Represents a definition range for a symbol.

public abstract class DefinitionRangeSymbol : CodeViewSymbol, ICodeViewSymbol
Inheritance
DefinitionRangeSymbol
Implements
Derived
Inherited Members

Constructors

DefinitionRangeSymbol()

Initializes an empty def-range.

protected DefinitionRangeSymbol()

DefinitionRangeSymbol(LocalAddressRange, IEnumerable<LocalAddressGap>)

Initializes the def-range with the provided address range and gaps.

protected DefinitionRangeSymbol(LocalAddressRange range, IEnumerable<LocalAddressGap> gaps)

Parameters

range LocalAddressRange

The address range.

gaps IEnumerable<LocalAddressGap>

The gaps within the address range the symbol is invalid at.

Properties

Gaps

Gets a collection of gaps in Range where this symbol is not available.

public IList<LocalAddressGap> Gaps { get; }

Property Value

IList<LocalAddressGap>

Range

Gets or sets the range of addresses within the program where this symbol is valid.

public LocalAddressRange Range { get; set; }

Property Value

LocalAddressRange

Methods

GetGaps()

Obtains the collection of ranges the symbol is unavailable.

protected virtual IList<LocalAddressGap> GetGaps()

Returns

IList<LocalAddressGap>

The gaps.

Remarks

This method is called upon initialization of the Gaps property.