SizeDiffAggregate
Namespace: Dotsider.Core.Analysis.Models
Assembly: Dotsider.Core.dll
The byte totals of one assembly or namespace on both sides of a size diff. Aggregates cover all attributable bytes for their scope — methods, MethodTables, RVA fields, frozen objects via their owner, and (for assemblies) resources — so a scoped size budget measures what the scope actually contributes.
public sealed record SizeDiffAggregate : IEquatable<SizeDiffAggregate>Inheritance
Section titled “Inheritance”Object → SizeDiffAggregate
Implements
Section titled “Implements”Constructors
Section titled “Constructors”SizeDiffAggregate(string, long, long, long)
Section titled “SizeDiffAggregate(string, long, long, long)”The byte totals of one assembly or namespace on both sides of a size diff. Aggregates cover all attributable bytes for their scope — methods, MethodTables, RVA fields, frozen objects via their owner, and (for assemblies) resources — so a scoped size budget measures what the scope actually contributes.
Parameters:
Name(String): The assembly simple name or namespace, or UnattributedName.LeftSize(Int64): The baseline bytes, or 0 when the scope is new.RightSize(Int64): The comparison-side bytes, or 0 when the scope disappeared.Delta(Int64): RightSize minus LeftSize.
public SizeDiffAggregate(string Name, long LeftSize, long RightSize, long Delta)Properties
Section titled “Properties”Returns: Int64
public long Delta { get; init; }LeftSize
Section titled “LeftSize”The baseline bytes, or 0 when the scope is new.
Returns: Int64
public long LeftSize { get; init; }The assembly simple name or namespace, or UnattributedName.
Returns: String
public string Name { get; init; }RightSize
Section titled “RightSize”The comparison-side bytes, or 0 when the scope disappeared.
Returns: Int64
public long RightSize { get; init; }