Skip to content

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>

ObjectReadyToRunComponent

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)

The component’s simple assembly name from the manifest.

Returns: String

public string AssemblyName { get; init; }

The RVA of the component’s per-assembly ReadyToRun core header.

Returns: Int32

public int CoreHeaderRva { get; init; }

The RVA of the component’s embedded COR header, or 0 when not embedded.

Returns: Int32

public int CorHeaderRva { get; init; }

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

The sibling assembly file whose MVID matched, or null when unresolved.

Returns: String

public string? ResolvedPath { get; init; }