Table of Contents

Struct DebugInfoBounds

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

Describes bounds within a precompiled method body and attaches additional semantics to it.

public readonly struct DebugInfoBounds : IEquatable<DebugInfoBounds>
Implements
Inherited Members

Constructors

DebugInfoBounds(uint, uint, DebugInfoAttributes)

Creates a new bounds descriptor.

public DebugInfoBounds(uint nativeOffset, uint ilOffset, DebugInfoAttributes attributes)

Parameters

nativeOffset uint

The starting native offset.

ilOffset uint

The starting IL offset.

attributes DebugInfoAttributes

The attributes describing the semantics of the bounds.

Fields

EpilogOffset

A special offset indicating the native code maps to the function's epilogue.

public const uint EpilogOffset = 4294967293

Field Value

uint

NoMappingOffset

A special offset indicating the native code was not mapped to IL code.

public const uint NoMappingOffset = 4294967295

Field Value

uint

PrologOffset

A special offset indicating the native code maps to the function's prologue.

public const uint PrologOffset = 4294967294

Field Value

uint

Properties

Attributes

Gets the attributes assigned to the bounds.

public DebugInfoAttributes Attributes { get; }

Property Value

DebugInfoAttributes

ILOffset

Gets the associated starting IL offset of the bounds.

public uint ILOffset { get; }

Property Value

uint

NativeOffset

Gets the starting native offset of the bounds.

public uint NativeOffset { get; }

Property Value

uint

Methods

Equals(DebugInfoBounds)

Indicates whether the current object is equal to another object of the same type.

public bool Equals(DebugInfoBounds other)

Parameters

other DebugInfoBounds

An object to compare with this object.

Returns

bool

true if the current object is equal to the other parameter; otherwise, false.

Equals(object?)

Indicates whether this instance and a specified object are equal.

public override bool Equals(object? obj)

Parameters

obj object

The object to compare with the current instance.

Returns

bool

true if obj and this instance are the same type and represent the same value; otherwise, false.

GetHashCode()

Returns the hash code for this instance.

public override int GetHashCode()

Returns

int

A 32-bit signed integer that is the hash code for this instance.

ToString()

Returns the fully qualified type name of this instance.

public override string ToString()

Returns

string

The fully qualified type name.