ReadyToRunComponent
Namespace: Dotsider.Core.Analysis.Models
Assembly: Dotsider.Core.dll
One component assembly of a composite ReadyToRun image, from the ComponentAssemblies
section joined to the manifest and its MVIDs. Its native code lives in the composite; its
metadata is resolved from a sibling assembly matched by name and MVID.
public sealed record ReadyToRunComponent : IEquatable<ReadyToRunComponent>Inheritance
Section titled “Inheritance”Object → ReadyToRunComponent
Implements
Section titled “Implements”Constructors
Section titled “Constructors”ReadyToRunComponent(string, Guid, int, int, string?, bool)
Section titled “ReadyToRunComponent(string, Guid, int, int, string?, bool)”One component assembly of a composite ReadyToRun image, from the ComponentAssemblies
section joined to the manifest and its MVIDs. Its native code lives in the composite; its
metadata is resolved from a sibling assembly matched by name and MVID.
Parameters:
AssemblyName(String): The component’s simple assembly name from the manifest.Mvid(Guid): The component’s module version id, used to validate the resolved sibling’s identity.CorHeaderRva(Int32): The RVA of the component’s embedded COR header, or 0 when not embedded.CoreHeaderRva(Int32): The RVA of the component’s per-assembly ReadyToRun core header.ResolvedPath(String): The sibling assembly file whose MVID matched, or null when unresolved.MetadataAvailable(Boolean): Whether the component’s metadata was resolved (name + MVID matched a sibling).
public ReadyToRunComponent(string AssemblyName, Guid Mvid, int CorHeaderRva, int CoreHeaderRva, string? ResolvedPath, bool MetadataAvailable)Properties
Section titled “Properties”AssemblyName
Section titled “AssemblyName”The component’s simple assembly name from the manifest.
Returns: String
public string AssemblyName { get; init; }CoreHeaderRva
Section titled “CoreHeaderRva”The RVA of the component’s per-assembly ReadyToRun core header.
Returns: Int32
public int CoreHeaderRva { get; init; }CorHeaderRva
Section titled “CorHeaderRva”The RVA of the component’s embedded COR header, or 0 when not embedded.
Returns: Int32
public int CorHeaderRva { get; init; }MetadataAvailable
Section titled “MetadataAvailable”Whether the component’s metadata was resolved (name + MVID matched a sibling).
Returns: Boolean
public bool MetadataAvailable { get; init; }The component’s module version id, used to validate the resolved sibling’s identity.
Returns: Guid
public Guid Mvid { get; init; }ResolvedPath
Section titled “ResolvedPath”The sibling assembly file whose MVID matched, or null when unresolved.
Returns: String
public string? ResolvedPath { get; init; }Methods
Section titled “Methods”Deconstruct(out string, out Guid, out int, out int, out string?, out bool)
Section titled “Deconstruct(out string, out Guid, out int, out int, out string?, out bool)”Parameters:
AssemblyName(String)Mvid(Guid)CorHeaderRva(Int32)CoreHeaderRva(Int32)ResolvedPath(String)MetadataAvailable(Boolean)
public void Deconstruct(out string AssemblyName, out Guid Mvid, out int CorHeaderRva, out int CoreHeaderRva, out string? ResolvedPath, out bool MetadataAvailable)Equals(object?)
Section titled “Equals(object?)”Parameters:
obj(Object)
Returns: Boolean
public override bool Equals(object? obj)Equals(ReadyToRunComponent?)
Section titled “Equals(ReadyToRunComponent?)”Parameters:
other(ReadyToRunComponent)
Returns: Boolean
public bool Equals(ReadyToRunComponent? 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 !=(ReadyToRunComponent?, ReadyToRunComponent?)
Section titled “operator !=(ReadyToRunComponent?, ReadyToRunComponent?)”Parameters:
left(ReadyToRunComponent)right(ReadyToRunComponent)
Returns: Boolean
public static bool operator !=(ReadyToRunComponent? left, ReadyToRunComponent? right)operator ==(ReadyToRunComponent?, ReadyToRunComponent?)
Section titled “operator ==(ReadyToRunComponent?, ReadyToRunComponent?)”Parameters:
left(ReadyToRunComponent)right(ReadyToRunComponent)
Returns: Boolean
public static bool operator ==(ReadyToRunComponent? left, ReadyToRunComponent? right)