Skip to content

MstatSource

Namespace: Dotsider.Core.Analysis.Models

Assembly: Dotsider.Core.dll

A resolved mstat input: the decoded report plus where it came from. Produced by MstatLocator from either a bare .mstat file or a Native AOT binary with a size-report sidecar.

public sealed record MstatSource : IEquatable<MstatSource>

ObjectMstatSource

MstatSource(MstatData, string, string?, long?, string?)

Section titled “MstatSource(MstatData, string, string?, long?, string?)”

A resolved mstat input: the decoded report plus where it came from. Produced by MstatLocator from either a bare .mstat file or a Native AOT binary with a size-report sidecar.

Parameters:

  • Data (MstatData): The decoded size report.
  • MstatPath (String): The path of the .mstat file the report was read from.
  • BinaryPath (String): The Native AOT binary the report describes, or null when the input was a bare .mstat.
  • BinaryFileSize (Nullable<Int64>): The binary’s size on disk in bytes, or null when the input was a bare .mstat.
  • DgmlPath (String): The ILC dependency graph (DGML) found beside the input, or null when none exists — “why is this in my binary” needs it.
public MstatSource(MstatData Data, string MstatPath, string? BinaryPath, long? BinaryFileSize, string? DgmlPath)

The binary’s size on disk in bytes, or null when the input was a bare .mstat.

Returns: Nullable<Int64>

public long? BinaryFileSize { get; init; }

The Native AOT binary the report describes, or null when the input was a bare .mstat.

Returns: String

public string? BinaryPath { get; init; }

The decoded size report.

Returns: MstatData

public MstatData Data { get; init; }

The ILC dependency graph (DGML) found beside the input, or null when none exists — “why is this in my binary” needs it.

Returns: String

public string? DgmlPath { get; init; }

The path of the .mstat file the report was read from.

Returns: String

public string MstatPath { get; init; }