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