Table of Contents

Struct DebugInfoVariableLocation

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

Describes the location of a native variable in a precompiled method.

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

Constructors

DebugInfoVariableLocation(DebugInfoVariableLocationType, uint)

Creates a new location description for a variable.

public DebugInfoVariableLocation(DebugInfoVariableLocationType type, uint data1)

Parameters

type DebugInfoVariableLocationType

The type of location.

data1 uint

The first parameter further specifying the location.

DebugInfoVariableLocation(DebugInfoVariableLocationType, uint, uint)

Creates a new location description for a variable.

public DebugInfoVariableLocation(DebugInfoVariableLocationType type, uint data1, uint data2)

Parameters

type DebugInfoVariableLocationType

The type of location.

data1 uint

The first parameter further specifying the location.

data2 uint

The second parameter further specifying the location.

DebugInfoVariableLocation(DebugInfoVariableLocationType, uint, uint, uint)

Creates a new location description for a variable.

public DebugInfoVariableLocation(DebugInfoVariableLocationType type, uint data1, uint data2, uint data3)

Parameters

type DebugInfoVariableLocationType

The type of location.

data1 uint

The first parameter further specifying the location.

data2 uint

The second parameter further specifying the location.

data3 uint

The third parameter further specifying the location.

Properties

Data1

Gets the first parameter further specifying the location.

public uint Data1 { get; }

Property Value

uint

Data2

Gets the second parameter further specifying the location.

public uint Data2 { get; }

Property Value

uint

Data3

Gets the third parameter further specifying the location.

public uint Data3 { get; }

Property Value

uint

Type

Gets the type of location.

public DebugInfoVariableLocationType Type { get; }

Property Value

DebugInfoVariableLocationType

Methods

Equals(DebugInfoVariableLocation)

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

public bool Equals(DebugInfoVariableLocation other)

Parameters

other DebugInfoVariableLocation

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.