Skip to content

CorrelationReport

Namespace: Dotsider.Core.Analysis.Models

Assembly: Dotsider.Core.dll

The resolved correlation payload shared verbatim by every programmatic surface — the CLI --correlate option, the session correlate-method command, and the MCP correlate_method tool — so a method’s pre-ILC IL and its native code are reported identically wherever they are requested.

public sealed record CorrelationReport : IEquatable<CorrelationReport>

ObjectCorrelationReport

CorrelationReport(string, string, string, int, IReadOnlyList<CorrelationReportSymbol>, long, long, long, string?, string?)

Section titled “CorrelationReport(string, string, string, int, IReadOnlyList<CorrelationReportSymbol>, long, long, long, string?, string?)”

The resolved correlation payload shared verbatim by every programmatic surface — the CLI --correlate option, the session correlate-method command, and the MCP correlate_method tool — so a method’s pre-ILC IL and its native code are reported identically wherever they are requested.

Parameters:

  • Status (String): The correlation status name (exact, ambiguous, size-only, not-in-image).
  • Assembly (String): The simple name of the assembly the method is defined in.
  • Method (String): The method’s display form: DeclaringType::Name signature.
  • Token (Int32): The method’s metadata token.
  • Symbols (IReadOnlyList<CorrelationReportSymbol>): The native symbols carrying the method’s code — several mean generic instantiations, or a shared overload pool when ambiguous.
  • NativeSize (Int64): The native bytes the method owns outright, or 0 when its evidence is shared.
  • SharedCandidateSize (Int64): The size of the shared evidence pool when the correlation is ambiguous, otherwise 0.
  • MstatSize (Int64): The total mstat-reported native size, or 0 when no mstat sidecar was available.
  • Il (String): The method’s IL listing from the pre-ILC assembly, or null when it has no metadata body.
  • NativeDisassembly (String): The correlation-aware native disassembly across all symbols, or null when no symbol is disassemblable.
public CorrelationReport(string Status, string Assembly, string Method, int Token, IReadOnlyList<CorrelationReportSymbol> Symbols, long NativeSize, long SharedCandidateSize, long MstatSize, string? Il, string? NativeDisassembly)

The simple name of the assembly the method is defined in.

Returns: String

public string Assembly { get; init; }

The method’s IL listing from the pre-ILC assembly, or null when it has no metadata body.

Returns: String

public string? Il { get; init; }

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

Returns: String

public string Method { get; init; }

The total mstat-reported native size, or 0 when no mstat sidecar was available.

Returns: Int64

public long MstatSize { get; init; }

The correlation-aware native disassembly across all symbols, or null when no symbol is disassemblable.

Returns: String

public string? NativeDisassembly { get; init; }

The native bytes the method owns outright, or 0 when its evidence is shared.

Returns: Int64

public long NativeSize { get; init; }

The size of the shared evidence pool when the correlation is ambiguous, otherwise 0.

Returns: Int64

public long SharedCandidateSize { get; init; }

The correlation status name (exact, ambiguous, size-only, not-in-image).

Returns: String

public string Status { get; init; }

The native symbols carrying the method’s code — several mean generic instantiations, or a shared overload pool when ambiguous.

Returns: IReadOnlyList<CorrelationReportSymbol>

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

The method’s metadata token.

Returns: Int32

public int Token { get; init; }