Skip to content

LocalSlotInfo

Namespace: Dotsider.Core.Analysis.Models

Assembly: Dotsider.Core.dll

A PDB local variable slot and the IL range where its name is active.

public sealed record LocalSlotInfo : IEquatable<LocalSlotInfo>

ObjectLocalSlotInfo

LocalSlotInfo(int, string, int, int, bool)

Section titled “LocalSlotInfo(int, string, int, int, bool)”

A PDB local variable slot and the IL range where its name is active.

Parameters:

  • Slot (Int32): The local variable slot index.
  • Name (String): The local variable name.
  • StartOffset (Int32): The first IL offset where the name is active.
  • EndOffset (Int32): The exclusive end IL offset for the local scope.
  • IsDebuggerHidden (Boolean): Whether the local is marked debugger-hidden.
public LocalSlotInfo(int Slot, string Name, int StartOffset, int EndOffset, bool IsDebuggerHidden)

The exclusive end IL offset for the local scope.

Returns: Int32

public int EndOffset { get; init; }

Whether the local is marked debugger-hidden.

Returns: Boolean

public bool IsDebuggerHidden { get; init; }

The local variable name.

Returns: String

public string Name { get; init; }

The local variable slot index.

Returns: Int32

public int Slot { get; init; }

The first IL offset where the name is active.

Returns: Int32

public int StartOffset { get; init; }