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
DebugInfoVariableLocationTypeThe type of location.
data1
uintThe 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
DebugInfoVariableLocationTypeThe type of location.
data1
uintThe first parameter further specifying the location.
data2
uintThe 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
DebugInfoVariableLocationTypeThe type of location.
data1
uintThe first parameter further specifying the location.
data2
uintThe second parameter further specifying the location.
data3
uintThe third parameter further specifying the location.
Properties
Data1
Gets the first parameter further specifying the location.
public uint Data1 { get; }
Property Value
Data2
Gets the second parameter further specifying the location.
public uint Data2 { get; }
Property Value
Data3
Gets the third parameter further specifying the location.
public uint Data3 { get; }
Property Value
Type
Gets the type of location.
public DebugInfoVariableLocationType Type { get; }
Property Value
Methods
Equals(DebugInfoVariableLocation)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(DebugInfoVariableLocation other)
Parameters
other
DebugInfoVariableLocationAn object to compare with this object.
Returns
Equals(object?)
Indicates whether this instance and a specified object are equal.
public override bool Equals(object? obj)
Parameters
obj
objectThe 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.