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; }

Deconstruct(out int, out string, out int, out int, out bool)

Section titled “Deconstruct(out int, out string, out int, out int, out bool)”

Parameters:

public void Deconstruct(out int Slot, out string Name, out int StartOffset, out int EndOffset, out bool IsDebuggerHidden)

Parameters:

Returns: Boolean

public bool Equals(LocalSlotInfo? other)

Parameters:

Returns: Boolean

public override bool Equals(object? obj)

Returns: Int32

public override int GetHashCode()

Returns: String

public override string ToString()

operator !=(LocalSlotInfo?, LocalSlotInfo?)

Section titled “operator !=(LocalSlotInfo?, LocalSlotInfo?)”

Parameters:

Returns: Boolean

public static bool operator !=(LocalSlotInfo? left, LocalSlotInfo? right)

operator ==(LocalSlotInfo?, LocalSlotInfo?)

Section titled “operator ==(LocalSlotInfo?, LocalSlotInfo?)”

Parameters:

Returns: Boolean

public static bool operator ==(LocalSlotInfo? left, LocalSlotInfo? right)