Skip to content

StringEntry

Namespace: Dotsider.Core.Analysis.Models

Assembly: Dotsider.Core.dll

A string extracted from the assembly, along with its source and offset.

public sealed record StringEntry : IEquatable<StringEntry>

ObjectStringEntry

A string extracted from the assembly, along with its source and offset.

Parameters:

  • Offset (Int32): The byte offset or heap handle where the string was found.
  • Value (String): The string content.
  • Source (StringSource): Which string source this entry came from.
public StringEntry(int Offset, string Value, StringSource Source)

The byte offset or heap handle where the string was found.

Returns: Int32

public int Offset { get; init; }

Which string source this entry came from.

Returns: StringSource

public StringSource Source { get; init; }

The string content.

Returns: String

public string Value { get; init; }

Deconstruct(out int, out string, out StringSource)

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

Parameters:

public void Deconstruct(out int Offset, out string Value, out StringSource Source)

Parameters:

Returns: Boolean

public override bool Equals(object? obj)

Parameters:

Returns: Boolean

public bool Equals(StringEntry? other)

Returns: Int32

public override int GetHashCode()

Returns: String

public override string ToString()

Parameters:

Returns: Boolean

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

Parameters:

Returns: Boolean

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