Class CilOffsetLabel
- Namespace
- AsmResolver.PE.DotNet.Cil
- Assembly
- AsmResolver.PE.dll
Represents a label to a CIL instruction referenced by a fixed offset relative to the start of the CIL method body.
public class CilOffsetLabel : ICilLabel, IEquatable<ICilLabel>
- Inheritance
-
CilOffsetLabel
- Implements
- Inherited Members
Constructors
CilOffsetLabel(int)
Creates a new fixed offset CIL label.
public CilOffsetLabel(int offset)
Parameters
offsetintThe offset of the instruction to reference.
Properties
Offset
Gets the offset of the referenced instruction.
public int Offset { get; }
Property Value
Methods
Equals(ICilLabel?)
public bool Equals(ICilLabel? other)
Parameters
otherICilLabel
Returns
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
ToString()
public override string ToString()