Skip to content

ReadyToRunMethodReport

Namespace: Dotsider.Core.Analysis.Models

Assembly: Dotsider.Core.dll

The resolved ReadyToRun correlation for one method, shared verbatim by the CLI --r2r-correlate option, the MCP correlate_r2r_method tool, and the session r2r-correlate command. Carries both rendered text and structured instruction arrays so programmatic callers get the IL and native code, not just formatted output.

public sealed record ReadyToRunMethodReport : IEquatable<ReadyToRunMethodReport>

ObjectReadyToRunMethodReport

ReadyToRunMethodReport(ReadyToRunNativeAvailability, string, Guid, string, int, bool, string?, bool, string?, IReadOnlyList<CorrelationReportSymbol>, long, string?, IReadOnlyList<IlInstruction>?, string?, IReadOnlyList<NativeInstruction>?, string?)

Section titled “ReadyToRunMethodReport(ReadyToRunNativeAvailability, string, Guid, string, int, bool, string?, bool, string?, IReadOnlyList<CorrelationReportSymbol>, long, string?, IReadOnlyList<IlInstruction>?, string?, IReadOnlyList<NativeInstruction>?, string?)”

The resolved ReadyToRun correlation for one method, shared verbatim by the CLI --r2r-correlate option, the MCP correlate_r2r_method tool, and the session r2r-correlate command. Carries both rendered text and structured instruction arrays so programmatic callers get the IL and native code, not just formatted output.

Parameters:

  • Availability (ReadyToRunNativeAvailability): Why the method does or does not have inspectable native code.
  • Assembly (String): The owning assembly’s simple name.
  • Mvid (Guid): The owning assembly’s module version id (composite identity).
  • Method (String): The method’s display form: DeclaringType::Name signature.
  • Token (Int32): The method’s metadata token.
  • IsComposite (Boolean): Whether the image is composite.
  • OwnerComponent (String): The owning component assembly for a composite, else null.
  • IsGenericInstantiation (Boolean): Whether this entry is a generic instantiation.
  • InstantiationDisplay (String): The rendered instantiation (e.g. &lt;int&gt;), or null.
  • Ranges (IReadOnlyList<CorrelationReportSymbol>): One entry per native code range (hot entry, funclets, cold).
  • NativeSize (Int64): The total precompiled native code size.
  • Il (String): The method’s IL listing text, or null when metadata is unavailable.
  • IlInstructions (IReadOnlyList<IlInstruction>): The structured IL instructions, or null.
  • NativeText (String): The concatenated native disassembly across ranges, or null.
  • NativeInstructions (IReadOnlyList<NativeInstruction>): The structured native instructions across ranges, or null.
  • Diagnostic (String): A human-readable note for a non-Precompiled availability, or null.
public ReadyToRunMethodReport(ReadyToRunNativeAvailability Availability, string Assembly, Guid Mvid, string Method, int Token, bool IsComposite, string? OwnerComponent, bool IsGenericInstantiation, string? InstantiationDisplay, IReadOnlyList<CorrelationReportSymbol> Ranges, long NativeSize, string? Il, IReadOnlyList<IlInstruction>? IlInstructions, string? NativeText, IReadOnlyList<NativeInstruction>? NativeInstructions, string? Diagnostic)

The owning assembly’s simple name.

Returns: String

public string Assembly { get; init; }

Why the method does or does not have inspectable native code.

Returns: ReadyToRunNativeAvailability

public ReadyToRunNativeAvailability Availability { get; init; }

A human-readable note for a non-Precompiled availability, or null.

Returns: String

public string? Diagnostic { get; init; }

The method’s IL listing text, or null when metadata is unavailable.

Returns: String

public string? Il { get; init; }

The structured IL instructions, or null.

Returns: IReadOnlyList<IlInstruction>

public IReadOnlyList<IlInstruction>? IlInstructions { get; init; }

The rendered instantiation (e.g. &lt;int&gt;), or null.

Returns: String

public string? InstantiationDisplay { get; init; }

Whether the image is composite.

Returns: Boolean

public bool IsComposite { get; init; }

Whether this entry is a generic instantiation.

Returns: Boolean

public bool IsGenericInstantiation { get; init; }

The method’s display form: DeclaringType::Name signature.

Returns: String

public string Method { get; init; }

The owning assembly’s module version id (composite identity).

Returns: Guid

public Guid Mvid { get; init; }

The structured native instructions across ranges, or null.

Returns: IReadOnlyList<NativeInstruction>

public IReadOnlyList<NativeInstruction>? NativeInstructions { get; init; }

The total precompiled native code size.

Returns: Int64

public long NativeSize { get; init; }

The concatenated native disassembly across ranges, or null.

Returns: String

public string? NativeText { get; init; }

The owning component assembly for a composite, else null.

Returns: String

public string? OwnerComponent { get; init; }

One entry per native code range (hot entry, funclets, cold).

Returns: IReadOnlyList<CorrelationReportSymbol>

public IReadOnlyList<CorrelationReportSymbol> Ranges { get; init; }

The method’s metadata token.

Returns: Int32

public int Token { get; init; }