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; }Methods
Section titled “Methods”Deconstruct(out string, out long, out long, out long)
Section titled “Deconstruct(out string, out long, out long, out long)”Parameters:
public void Deconstruct(out string Name, out long LeftSize, out long RightSize, out long Delta)Equals(object?)
Section titled “Equals(object?)”Parameters:
obj(Object)
Returns: Boolean
public override bool Equals(object? obj)Equals(SizeDiffAggregate?)
Section titled “Equals(SizeDiffAggregate?)”Parameters:
other(SizeDiffAggregate)
Returns: Boolean
public bool Equals(SizeDiffAggregate? other)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 !=(SizeDiffAggregate?, SizeDiffAggregate?)
Section titled “operator !=(SizeDiffAggregate?, SizeDiffAggregate?)”Parameters:
left(SizeDiffAggregate)right(SizeDiffAggregate)
Returns: Boolean
public static bool operator !=(SizeDiffAggregate? left, SizeDiffAggregate? right)operator ==(SizeDiffAggregate?, SizeDiffAggregate?)
Section titled “operator ==(SizeDiffAggregate?, SizeDiffAggregate?)”Parameters:
left(SizeDiffAggregate)right(SizeDiffAggregate)
Returns: Boolean
public static bool operator ==(SizeDiffAggregate? left, SizeDiffAggregate? right)