Table of Contents

Struct DebugInfoVariable

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

Provides debugging information about a single native variable in a precompiled method.

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

Constructors

DebugInfoVariable(uint, uint, uint, DebugInfoVariableLocation)

Creates new debugging information for the specified native variable.

public DebugInfoVariable(uint startOffset, uint endOffset, uint index, DebugInfoVariableLocation location)

Parameters

startOffset uint

The start offset the variable is live at.

endOffset uint

The (exclusive) end offset the variable is live at.

index uint

The index of the variable.

location DebugInfoVariableLocation

The location of the variable.

Fields

ReturnBuffer

The special return buffer variable index.

public const uint ReturnBuffer = 4294967294

Field Value

uint

TypeContext

The special type context variable index.

public const uint TypeContext = 4294967293

Field Value

uint

VarArgsHandle

The special VARARGS handle variable index.

public const uint VarArgsHandle = 4294967295

Field Value

uint

Properties

EndOffset

Gets the (exclusive) end offset the variable is live at.

public uint EndOffset { get; }

Property Value

uint

Index

Gets the index of the variable.

public uint Index { get; }

Property Value

uint

Location

Gets the location of the variable.

public DebugInfoVariableLocation Location { get; }

Property Value

DebugInfoVariableLocation

StartOffset

Gets the start offset the variable is live at.

public uint StartOffset { get; }

Property Value

uint

Methods

Equals(DebugInfoVariable)

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

public bool Equals(DebugInfoVariable other)

Parameters

other DebugInfoVariable

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.