Table of Contents

Class SerializedDebugInfoSection

Namespace
AsmResolver.PE.DotNet.ReadyToRun
Assembly
AsmResolver.PE.dll

Provides a lazy-initialized implementation of the DebugInfoSection that is read from a file.

public class SerializedDebugInfoSection : DebugInfoSection, IReadyToRunSection, ISegment, IOffsetProvider, IWritable
Inheritance
SerializedDebugInfoSection
Implements
Inherited Members

Constructors

SerializedDebugInfoSection(PEReaderContext, BinaryStreamReader)

Reads a debug information section from the provided input stream.

public SerializedDebugInfoSection(PEReaderContext context, BinaryStreamReader reader)

Parameters

context PEReaderContext

The context the reader is situated in.

reader BinaryStreamReader

The input stream.

Properties

CanRead

Indicates whether the raw contents of the section can be read using a BinaryStreamReader.

public override bool CanRead { get; }

Property Value

bool

Methods

CreateReader()

Creates a binary reader that reads the raw contents of the ReadyToRun section.

public override BinaryStreamReader CreateReader()

Returns

BinaryStreamReader

The reader.

Exceptions

InvalidOperationException

Occurs when CanRead is false.

GetEntries()

Obtains the entries stored in the section.

protected override NativeArray<DebugInfo> GetEntries()

Returns

NativeArray<DebugInfo>

The entries.

Remarks

This method is called upon initialization of the Entries property.