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>Inheritance
Section titled “Inheritance”Object → ReadyToRunMethodReport
Implements
Section titled “Implements”Constructors
Section titled “Constructors”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.<int>), 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)Properties
Section titled “Properties”Assembly
Section titled “Assembly”The owning assembly’s simple name.
Returns: String
public string Assembly { get; init; }Availability
Section titled “Availability”Why the method does or does not have inspectable native code.
Returns: ReadyToRunNativeAvailability
public ReadyToRunNativeAvailability Availability { get; init; }Diagnostic
Section titled “Diagnostic”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; }IlInstructions
Section titled “IlInstructions”The structured IL instructions, or null.
Returns: IReadOnlyList<IlInstruction>
public IReadOnlyList<IlInstruction>? IlInstructions { get; init; }InstantiationDisplay
Section titled “InstantiationDisplay”The rendered instantiation (e.g. <int>), or null.
Returns: String
public string? InstantiationDisplay { get; init; }IsComposite
Section titled “IsComposite”Whether the image is composite.
Returns: Boolean
public bool IsComposite { get; init; }IsGenericInstantiation
Section titled “IsGenericInstantiation”Whether this entry is a generic instantiation.
Returns: Boolean
public bool IsGenericInstantiation { get; init; }Method
Section titled “Method”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; }NativeInstructions
Section titled “NativeInstructions”The structured native instructions across ranges, or null.
Returns: IReadOnlyList<NativeInstruction>
public IReadOnlyList<NativeInstruction>? NativeInstructions { get; init; }NativeSize
Section titled “NativeSize”The total precompiled native code size.
Returns: Int64
public long NativeSize { get; init; }NativeText
Section titled “NativeText”The concatenated native disassembly across ranges, or null.
Returns: String
public string? NativeText { get; init; }OwnerComponent
Section titled “OwnerComponent”The owning component assembly for a composite, else null.
Returns: String
public string? OwnerComponent { get; init; }Ranges
Section titled “Ranges”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; }Methods
Section titled “Methods”Deconstruct(out ReadyToRunNativeAvailability, out string, out Guid, out string, out int, out bool, out string?, out bool, out string?, out IReadOnlyList<CorrelationReportSymbol>, out long, out string?, out IReadOnlyList<IlInstruction>?, out string?, out IReadOnlyList<NativeInstruction>?, out string?)
Section titled “Deconstruct(out ReadyToRunNativeAvailability, out string, out Guid, out string, out int, out bool, out string?, out bool, out string?, out IReadOnlyList<CorrelationReportSymbol>, out long, out string?, out IReadOnlyList<IlInstruction>?, out string?, out IReadOnlyList<NativeInstruction>?, out string?)”Parameters:
Availability(ReadyToRunNativeAvailability)Assembly(String)Mvid(Guid)Method(String)Token(Int32)IsComposite(Boolean)OwnerComponent(String)IsGenericInstantiation(Boolean)InstantiationDisplay(String)Ranges(IReadOnlyList<CorrelationReportSymbol>)NativeSize(Int64)Il(String)IlInstructions(IReadOnlyList<IlInstruction>)NativeText(String)NativeInstructions(IReadOnlyList<NativeInstruction>)Diagnostic(String)
public void Deconstruct(out ReadyToRunNativeAvailability Availability, out string Assembly, out Guid Mvid, out string Method, out int Token, out bool IsComposite, out string? OwnerComponent, out bool IsGenericInstantiation, out string? InstantiationDisplay, out IReadOnlyList<CorrelationReportSymbol> Ranges, out long NativeSize, out string? Il, out IReadOnlyList<IlInstruction>? IlInstructions, out string? NativeText, out IReadOnlyList<NativeInstruction>? NativeInstructions, out string? Diagnostic)Equals(object?)
Section titled “Equals(object?)”Parameters:
obj(Object)
Returns: Boolean
public override bool Equals(object? obj)Equals(ReadyToRunMethodReport?)
Section titled “Equals(ReadyToRunMethodReport?)”Parameters:
other(ReadyToRunMethodReport)
Returns: Boolean
public bool Equals(ReadyToRunMethodReport? 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 !=(ReadyToRunMethodReport?, ReadyToRunMethodReport?)
Section titled “operator !=(ReadyToRunMethodReport?, ReadyToRunMethodReport?)”Parameters:
left(ReadyToRunMethodReport)right(ReadyToRunMethodReport)
Returns: Boolean
public static bool operator !=(ReadyToRunMethodReport? left, ReadyToRunMethodReport? right)operator ==(ReadyToRunMethodReport?, ReadyToRunMethodReport?)
Section titled “operator ==(ReadyToRunMethodReport?, ReadyToRunMethodReport?)”Parameters:
left(ReadyToRunMethodReport)right(ReadyToRunMethodReport)
Returns: Boolean
public static bool operator ==(ReadyToRunMethodReport? left, ReadyToRunMethodReport? right)