MethodDebugInfo
Namespace: Dotsider.Core.Analysis.Models
Assembly: Dotsider.Core.dll
Portable PDB debug information for a method.
public sealed record MethodDebugInfo : IEquatable<MethodDebugInfo>Inheritance
Section titled “Inheritance”Object → MethodDebugInfo
Implements
Section titled “Implements”Constructors
Section titled “Constructors”MethodDebugInfo(int, PdbProvenance, IReadOnlyList<SequencePointInfo>, IReadOnlyList<LocalSlotInfo>)
Section titled “MethodDebugInfo(int, PdbProvenance, IReadOnlyList<SequencePointInfo>, IReadOnlyList<LocalSlotInfo>)”Portable PDB debug information for a method.
Parameters:
MethodToken(Int32): The method definition metadata token.Pdb(PdbProvenance): The portable PDB provenance.SequencePoints(IReadOnlyList<SequencePointInfo>): Decoded sequence points for the method.Locals(IReadOnlyList<LocalSlotInfo>): Decoded local slots and PDB names for the method.
public MethodDebugInfo(int MethodToken, PdbProvenance Pdb, IReadOnlyList<SequencePointInfo> SequencePoints, IReadOnlyList<LocalSlotInfo> Locals)Properties
Section titled “Properties”Locals
Section titled “Locals”Decoded local slots and PDB names for the method.
Returns: IReadOnlyList<LocalSlotInfo>
public IReadOnlyList<LocalSlotInfo> Locals { get; init; }MethodToken
Section titled “MethodToken”The method definition metadata token.
Returns: Int32
public int MethodToken { get; init; }The portable PDB provenance.
Returns: PdbProvenance
public PdbProvenance Pdb { get; init; }SequencePoints
Section titled “SequencePoints”Decoded sequence points for the method.
Returns: IReadOnlyList<SequencePointInfo>
public IReadOnlyList<SequencePointInfo> SequencePoints { get; init; }