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>Inheritance
Section titled “Inheritance”Object → MstatSource
Implements
Section titled “Implements”Constructors
Section titled “Constructors”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.mstatfile 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)Properties
Section titled “Properties”BinaryFileSize
Section titled “BinaryFileSize”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; }BinaryPath
Section titled “BinaryPath”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; }DgmlPath
Section titled “DgmlPath”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; }MstatPath
Section titled “MstatPath”The path of the .mstat file the report was read from.
Returns: String
public string MstatPath { get; init; }