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
uintThe start offset the variable is live at.
endOffset
uintThe (exclusive) end offset the variable is live at.
index
uintThe index of the variable.
location
DebugInfoVariableLocationThe location of the variable.
Fields
ReturnBuffer
The special return buffer variable index.
public const uint ReturnBuffer = 4294967294
Field Value
TypeContext
The special type context variable index.
public const uint TypeContext = 4294967293
Field Value
VarArgsHandle
The special VARARGS handle variable index.
public const uint VarArgsHandle = 4294967295
Field Value
Properties
EndOffset
Gets the (exclusive) end offset the variable is live at.
public uint EndOffset { get; }
Property Value
Index
Gets the index of the variable.
public uint Index { get; }
Property Value
Location
Gets the location of the variable.
public DebugInfoVariableLocation Location { get; }
Property Value
StartOffset
Gets the start offset the variable is live at.
public uint StartOffset { get; }
Property Value
Methods
Equals(DebugInfoVariable)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(DebugInfoVariable other)
Parameters
other
DebugInfoVariableAn 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.