Skip to content

MethodDebugInfo

Namespace: Dotsider.Core.Analysis.Models

Assembly: Dotsider.Core.dll

Portable PDB debug information for a method.

public sealed record MethodDebugInfo : IEquatable<MethodDebugInfo>

ObjectMethodDebugInfo

MethodDebugInfo(int, PdbProvenance, IReadOnlyList<SequencePointInfo>, IReadOnlyList<LocalSlotInfo>)

Section titled “MethodDebugInfo(int, PdbProvenance, IReadOnlyList<SequencePointInfo>, IReadOnlyList<LocalSlotInfo>)”

Portable PDB debug information for a method.

Parameters:

public MethodDebugInfo(int MethodToken, PdbProvenance Pdb, IReadOnlyList<SequencePointInfo> SequencePoints, IReadOnlyList<LocalSlotInfo> Locals)

Decoded local slots and PDB names for the method.

Returns: IReadOnlyList<LocalSlotInfo>

public IReadOnlyList<LocalSlotInfo> Locals { get; init; }

The method definition metadata token.

Returns: Int32

public int MethodToken { get; init; }

The portable PDB provenance.

Returns: PdbProvenance

public PdbProvenance Pdb { get; init; }

Decoded sequence points for the method.

Returns: IReadOnlyList<SequencePointInfo>

public IReadOnlyList<SequencePointInfo> SequencePoints { get; init; }