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>Inheritance
Section titled “Inheritance”Object → StringEntry
Implements
Section titled “Implements”Constructors
Section titled “Constructors”StringEntry(int, string, StringSource)
Section titled “StringEntry(int, string, StringSource)”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)Properties
Section titled “Properties”Offset
Section titled “Offset”The byte offset or heap handle where the string was found.
Returns: Int32
public int Offset { get; init; }Source
Section titled “Source”Which string source this entry came from.
Returns: StringSource
public StringSource Source { get; init; }The string content.
Returns: String
public string Value { get; init; }Methods
Section titled “Methods”Deconstruct(out int, out string, out StringSource)
Section titled “Deconstruct(out int, out string, out StringSource)”Parameters:
Offset(Int32)Value(String)Source(StringSource)
public void Deconstruct(out int Offset, out string Value, out StringSource Source)Equals(object?)
Section titled “Equals(object?)”Parameters:
obj(Object)
Returns: Boolean
public override bool Equals(object? obj)Equals(StringEntry?)
Section titled “Equals(StringEntry?)”Parameters:
other(StringEntry)
Returns: Boolean
public bool Equals(StringEntry? other)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 !=(StringEntry?, StringEntry?)
Section titled “operator !=(StringEntry?, StringEntry?)”Parameters:
left(StringEntry)right(StringEntry)
Returns: Boolean
public static bool operator !=(StringEntry? left, StringEntry? right)operator ==(StringEntry?, StringEntry?)
Section titled “operator ==(StringEntry?, StringEntry?)”Parameters:
left(StringEntry)right(StringEntry)
Returns: Boolean
public static bool operator ==(StringEntry? left, StringEntry? right)