IlDisassemblyPayload
Namespace: Dotsider.Core.Protocol
Assembly: Dotsider.Core.dll
IL and optional portable-PDB data for one method. Defines a stable contract for command-line and MCP protocol responses. Uses an explicit shape that source-generated JSON preserves in Native AOT.
public sealed record IlDisassemblyPayload : IEquatable<IlDisassemblyPayload>Inheritance
Section titled “Inheritance”Object → IlDisassemblyPayload
Implements
Section titled “Implements”Constructors
Section titled “Constructors”IlDisassemblyPayload(MethodDefInfo, PdbProvenance, SourceLinkInfo, MethodDebugInfo?, IReadOnlyList<IlInstruction>)
Section titled “IlDisassemblyPayload(MethodDefInfo, PdbProvenance, SourceLinkInfo, MethodDebugInfo?, IReadOnlyList<IlInstruction>)”IL and optional portable-PDB data for one method. Defines a stable contract for command-line and MCP protocol responses. Uses an explicit shape that source-generated JSON preserves in Native AOT.
Parameters:
Method(MethodDefInfo)Pdb(PdbProvenance)SourceLink(SourceLinkInfo)DebugInfo(MethodDebugInfo)Instructions(IReadOnlyList<IlInstruction>)
public IlDisassemblyPayload(MethodDefInfo Method, PdbProvenance Pdb, SourceLinkInfo SourceLink, MethodDebugInfo? DebugInfo, IReadOnlyList<IlInstruction> Instructions)Properties
Section titled “Properties”DebugInfo
Section titled “DebugInfo”Returns: MethodDebugInfo
public MethodDebugInfo? DebugInfo { get; init; }Instructions
Section titled “Instructions”Returns: IReadOnlyList<IlInstruction>
public IReadOnlyList<IlInstruction> Instructions { get; init; }Method
Section titled “Method”Returns: MethodDefInfo
public MethodDefInfo Method { get; init; }Returns: PdbProvenance
public PdbProvenance Pdb { get; init; }SourceLink
Section titled “SourceLink”Returns: SourceLinkInfo
public SourceLinkInfo SourceLink { get; init; }Methods
Section titled “Methods”Deconstruct(out MethodDefInfo, out PdbProvenance, out SourceLinkInfo, out MethodDebugInfo?, out IReadOnlyList<IlInstruction>)
Section titled “Deconstruct(out MethodDefInfo, out PdbProvenance, out SourceLinkInfo, out MethodDebugInfo?, out IReadOnlyList<IlInstruction>)”Parameters:
Method(MethodDefInfo)Pdb(PdbProvenance)SourceLink(SourceLinkInfo)DebugInfo(MethodDebugInfo)Instructions(IReadOnlyList<IlInstruction>)
public void Deconstruct(out MethodDefInfo Method, out PdbProvenance Pdb, out SourceLinkInfo SourceLink, out MethodDebugInfo? DebugInfo, out IReadOnlyList<IlInstruction> Instructions)Equals(IlDisassemblyPayload?)
Section titled “Equals(IlDisassemblyPayload?)”Parameters:
other(IlDisassemblyPayload)
Returns: Boolean
public bool Equals(IlDisassemblyPayload? other)Equals(object?)
Section titled “Equals(object?)”Parameters:
obj(Object)
Returns: Boolean
public override bool Equals(object? obj)GetHashCode()
Section titled “GetHashCode()”Returns: Int32
public override int GetHashCode()ToString()
Section titled “ToString()”Returns: String
public override string ToString()Members
Section titled “Members”operator !=(IlDisassemblyPayload?, IlDisassemblyPayload?)
Section titled “operator !=(IlDisassemblyPayload?, IlDisassemblyPayload?)”Parameters:
left(IlDisassemblyPayload)right(IlDisassemblyPayload)
Returns: Boolean
public static bool operator !=(IlDisassemblyPayload? left, IlDisassemblyPayload? right)operator ==(IlDisassemblyPayload?, IlDisassemblyPayload?)
Section titled “operator ==(IlDisassemblyPayload?, IlDisassemblyPayload?)”Parameters:
left(IlDisassemblyPayload)right(IlDisassemblyPayload)
Returns: Boolean
public static bool operator ==(IlDisassemblyPayload? left, IlDisassemblyPayload? right)