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
uintThe starting native offset.
ilOffset
uintThe starting IL offset.
attributes
DebugInfoAttributesThe 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
NoMappingOffset
A special offset indicating the native code was not mapped to IL code.
public const uint NoMappingOffset = 4294967295
Field Value
PrologOffset
A special offset indicating the native code maps to the function's prologue.
public const uint PrologOffset = 4294967294
Field Value
Properties
Attributes
Gets the attributes assigned to the bounds.
public DebugInfoAttributes Attributes { get; }
Property Value
ILOffset
Gets the associated starting IL offset of the bounds.
public uint ILOffset { get; }
Property Value
NativeOffset
Gets the starting native offset of the bounds.
public uint NativeOffset { get; }
Property Value
Methods
Equals(DebugInfoBounds)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(DebugInfoBounds other)
Parameters
other
DebugInfoBoundsAn 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.