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; }Methods
Section titled “Methods”Deconstruct(out int, out PdbProvenance, out IReadOnlyList<SequencePointInfo>, out IReadOnlyList<LocalSlotInfo>)
Section titled “Deconstruct(out int, out PdbProvenance, out IReadOnlyList<SequencePointInfo>, out IReadOnlyList<LocalSlotInfo>)”Parameters:
MethodToken(Int32)Pdb(PdbProvenance)SequencePoints(IReadOnlyList<SequencePointInfo>)Locals(IReadOnlyList<LocalSlotInfo>)
public void Deconstruct(out int MethodToken, out PdbProvenance Pdb, out IReadOnlyList<SequencePointInfo> SequencePoints, out IReadOnlyList<LocalSlotInfo> Locals)Equals(MethodDebugInfo?)
Section titled “Equals(MethodDebugInfo?)”Parameters:
other(MethodDebugInfo)
Returns: Boolean
public bool Equals(MethodDebugInfo? 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 !=(MethodDebugInfo?, MethodDebugInfo?)
Section titled “operator !=(MethodDebugInfo?, MethodDebugInfo?)”Parameters:
left(MethodDebugInfo)right(MethodDebugInfo)
Returns: Boolean
public static bool operator !=(MethodDebugInfo? left, MethodDebugInfo? right)operator ==(MethodDebugInfo?, MethodDebugInfo?)
Section titled “operator ==(MethodDebugInfo?, MethodDebugInfo?)”Parameters:
left(MethodDebugInfo)right(MethodDebugInfo)
Returns: Boolean
public static bool operator ==(MethodDebugInfo? left, MethodDebugInfo? right)