Table of Contents

Class SerializedMethodEntryPointsSection

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

Provides a lazy-initialized implementation of MethodEntryPointsSection that is read from an input .NET executable file.

public class SerializedMethodEntryPointsSection : MethodEntryPointsSection, IReadyToRunSection, ISegment, IOffsetProvider, IWritable
Inheritance
SerializedMethodEntryPointsSection
Implements
Inherited Members

Constructors

SerializedMethodEntryPointsSection(ref BinaryStreamReader)

Reads a method entry points section from the provided input stream.

public SerializedMethodEntryPointsSection(ref BinaryStreamReader reader)

Parameters

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.

GetEntryPoints()

Obtains the entry points stored in the section.

protected override NativeArray<MethodEntryPoint> GetEntryPoints()

Returns

NativeArray<MethodEntryPoint>

The entry points.

Remarks

This method is called upon initialization of the EntryPoints property.