MstatDeduplicatedMethod
Namespace: Dotsider.Core.Analysis.Models
Assembly: Dotsider.Core.dll
One method-body fold from an ILC size report (format 2.2+): the compiler emitted a single body and pointed these identical methods at it, so only the original contributes size.
public sealed record MstatDeduplicatedMethod : IEquatable<MstatDeduplicatedMethod>Inheritance
Section titled “Inheritance”Object → MstatDeduplicatedMethod
Implements
Section titled “Implements”Constructors
Section titled “Constructors”MstatDeduplicatedMethod(string, IReadOnlyList<string>)
Section titled “MstatDeduplicatedMethod(string, IReadOnlyList<string>)”One method-body fold from an ILC size report (format 2.2+): the compiler emitted a single body and pointed these identical methods at it, so only the original contributes size.
Parameters:
Name(String): The original method’s display name, including its declaring type.TargetNames(IReadOnlyList<String>): The dependency-graph node names of the methods folded into the original.
public MstatDeduplicatedMethod(string Name, IReadOnlyList<string> TargetNames)Properties
Section titled “Properties”The original method’s display name, including its declaring type.
Returns: String
public string Name { get; init; }TargetNames
Section titled “TargetNames”The dependency-graph node names of the methods folded into the original.
Returns: IReadOnlyList<String>
public IReadOnlyList<string> TargetNames { get; init; }Methods
Section titled “Methods”Deconstruct(out string, out IReadOnlyList<string>)
Section titled “Deconstruct(out string, out IReadOnlyList<string>)”Parameters:
Name(String)TargetNames(IReadOnlyList<String>)
public void Deconstruct(out string Name, out IReadOnlyList<string> TargetNames)Equals(MstatDeduplicatedMethod?)
Section titled “Equals(MstatDeduplicatedMethod?)”Parameters:
other(MstatDeduplicatedMethod)
Returns: Boolean
public bool Equals(MstatDeduplicatedMethod? 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 !=(MstatDeduplicatedMethod?, MstatDeduplicatedMethod?)
Section titled “operator !=(MstatDeduplicatedMethod?, MstatDeduplicatedMethod?)”Parameters:
left(MstatDeduplicatedMethod)right(MstatDeduplicatedMethod)
Returns: Boolean
public static bool operator !=(MstatDeduplicatedMethod? left, MstatDeduplicatedMethod? right)operator ==(MstatDeduplicatedMethod?, MstatDeduplicatedMethod?)
Section titled “operator ==(MstatDeduplicatedMethod?, MstatDeduplicatedMethod?)”Parameters:
left(MstatDeduplicatedMethod)right(MstatDeduplicatedMethod)
Returns: Boolean
public static bool operator ==(MstatDeduplicatedMethod? left, MstatDeduplicatedMethod? right)