IlInstruction
Namespace: Dotsider.Core.Analysis.Models
Assembly: Dotsider.Core.dll
A single decoded IL (Intermediate Language) instruction.
public sealed record IlInstruction : IEquatable<IlInstruction>Inheritance
Section titled “Inheritance”Object → IlInstruction
Implements
Section titled “Implements”Constructors
Section titled “Constructors”IlInstruction(int, string, string)
Section titled “IlInstruction(int, string, string)”A single decoded IL (Intermediate Language) instruction.
Parameters:
Offset(Int32): The byte offset of this instruction within the method body.OpCode(String): The IL opcode mnemonic (e.g., “ldstr”, “call”, “ret”).Operand(String): The decoded operand as a display string, or empty if the opcode takes no operand.
public IlInstruction(int Offset, string OpCode, string Operand)Properties
Section titled “Properties”Offset
Section titled “Offset”The byte offset of this instruction within the method body.
Returns: Int32
public int Offset { get; init; }OpCode
Section titled “OpCode”The IL opcode mnemonic (e.g., “ldstr”, “call”, “ret”).
Returns: String
public string OpCode { get; init; }Operand
Section titled “Operand”The decoded operand as a display string, or empty if the opcode takes no operand.
Returns: String
public string Operand { get; init; }