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; }Methods
Section titled “Methods”Deconstruct(out MstatData, out string, out string?, out long?, out string?)
Section titled “Deconstruct(out MstatData, out string, out string?, out long?, out string?)”Parameters:
Data(MstatData)MstatPath(String)BinaryPath(String)BinaryFileSize(Nullable<Int64>)DgmlPath(String)
public void Deconstruct(out MstatData Data, out string MstatPath, out string? BinaryPath, out long? BinaryFileSize, out string? DgmlPath)Equals(MstatSource?)
Section titled “Equals(MstatSource?)”Parameters:
other(MstatSource)
Returns: Boolean
public bool Equals(MstatSource? other)Equals(object?)
Section titled “Equals(object?)”Parameters:
obj(Object)
Returns: Boolean
public override bool Equals(object? obj)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 !=(MstatSource?, MstatSource?)
Section titled “operator !=(MstatSource?, MstatSource?)”Parameters:
left(MstatSource)right(MstatSource)
Returns: Boolean
public static bool operator !=(MstatSource? left, MstatSource? right)operator ==(MstatSource?, MstatSource?)
Section titled “operator ==(MstatSource?, MstatSource?)”Parameters:
left(MstatSource)right(MstatSource)
Returns: Boolean
public static bool operator ==(MstatSource? left, MstatSource? right)