ReadyToRunSectionEntry
Namespace: Dotsider.Core.Analysis.Models
Assembly: Dotsider.Core.dll
One row of a crossgen2 image’s READYTORUN_SECTION table: a section type and the
{RVA, Size} data directory that locates it. Rendered by the PE/Metadata “R2R Sections”
tab for ReadyToRun images.
public sealed record ReadyToRunSectionEntry : IEquatable<ReadyToRunSectionEntry>Inheritance
Section titled “Inheritance”Object → ReadyToRunSectionEntry
Implements
Section titled “Implements”Constructors
Section titled “Constructors”ReadyToRunSectionEntry(int, string, int, int, int?)
Section titled “ReadyToRunSectionEntry(int, string, int, int, int?)”One row of a crossgen2 image’s READYTORUN_SECTION table: a section type and the
{RVA, Size} data directory that locates it. Rendered by the PE/Metadata “R2R Sections”
tab for ReadyToRun images.
Parameters:
Type(Int32): The rawReadyToRunSectionTypeid.Name(String): A human-readable name for the section type.Rva(Int32): The section’s relative virtual address.Size(Int32): The section size in bytes.FileOffset(Nullable<Int32>): The file offset the RVA maps to, or null when it is not file-backed.
public ReadyToRunSectionEntry(int Type, string Name, int Rva, int Size, int? FileOffset)Properties
Section titled “Properties”FileOffset
Section titled “FileOffset”The file offset the RVA maps to, or null when it is not file-backed.
Returns: Nullable<Int32>
public int? FileOffset { get; init; }A human-readable name for the section type.
Returns: String
public string Name { get; init; }The section’s relative virtual address.
Returns: Int32
public int Rva { get; init; }The section size in bytes.
Returns: Int32
public int Size { get; init; }The raw ReadyToRunSectionType id.
Returns: Int32
public int Type { get; init; }Methods
Section titled “Methods”Deconstruct(out int, out string, out int, out int, out int?)
Section titled “Deconstruct(out int, out string, out int, out int, out int?)”Parameters:
Type(Int32)Name(String)Rva(Int32)Size(Int32)FileOffset(Nullable<Int32>)
public void Deconstruct(out int Type, out string Name, out int Rva, out int Size, out int? FileOffset)Equals(object?)
Section titled “Equals(object?)”Parameters:
obj(Object)
Returns: Boolean
public override bool Equals(object? obj)Equals(ReadyToRunSectionEntry?)
Section titled “Equals(ReadyToRunSectionEntry?)”Parameters:
other(ReadyToRunSectionEntry)
Returns: Boolean
public bool Equals(ReadyToRunSectionEntry? 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 !=(ReadyToRunSectionEntry?, ReadyToRunSectionEntry?)
Section titled “operator !=(ReadyToRunSectionEntry?, ReadyToRunSectionEntry?)”Parameters:
left(ReadyToRunSectionEntry)right(ReadyToRunSectionEntry)
Returns: Boolean
public static bool operator !=(ReadyToRunSectionEntry? left, ReadyToRunSectionEntry? right)operator ==(ReadyToRunSectionEntry?, ReadyToRunSectionEntry?)
Section titled “operator ==(ReadyToRunSectionEntry?, ReadyToRunSectionEntry?)”Parameters:
left(ReadyToRunSectionEntry)right(ReadyToRunSectionEntry)
Returns: Boolean
public static bool operator ==(ReadyToRunSectionEntry? left, ReadyToRunSectionEntry? right)