CorrelationCandidate
Namespace: Dotsider.Core.Analysis.Models
Assembly: Dotsider.Core.dll
One of several methods a name query matched. Overloads share a name, so an ambiguous query surfaces every candidate rather than guessing which the caller meant.
public sealed record CorrelationCandidate : IEquatable<CorrelationCandidate>Inheritance
Section titled “Inheritance”Object → CorrelationCandidate
Implements
Section titled “Implements”Constructors
Section titled “Constructors”CorrelationCandidate(string, string, string, int, ulong?)
Section titled “CorrelationCandidate(string, string, string, int, ulong?)”One of several methods a name query matched. Overloads share a name, so an ambiguous query surfaces every candidate rather than guessing which the caller meant.
Parameters:
AssemblyName(String): The simple name of the assembly the method is defined in.DeclaringType(String): The fully qualified declaring type name.Name(String): The method’s simple name.Token(Int32): The method’s metadata token.VirtualAddress(Nullable<UInt64>): The first correlated native address, or null when the method is not in the native image.
public CorrelationCandidate(string AssemblyName, string DeclaringType, string Name, int Token, ulong? VirtualAddress)Properties
Section titled “Properties”AssemblyName
Section titled “AssemblyName”The simple name of the assembly the method is defined in.
Returns: String
public string AssemblyName { get; init; }DeclaringType
Section titled “DeclaringType”The fully qualified declaring type name.
Returns: String
public string DeclaringType { get; init; }The method’s simple name.
Returns: String
public string Name { get; init; }The method’s metadata token.
Returns: Int32
public int Token { get; init; }VirtualAddress
Section titled “VirtualAddress”The first correlated native address, or null when the method is not in the native image.
Returns: Nullable<UInt64>
public ulong? VirtualAddress { get; init; }Methods
Section titled “Methods”Deconstruct(out string, out string, out string, out int, out ulong?)
Section titled “Deconstruct(out string, out string, out string, out int, out ulong?)”Parameters:
AssemblyName(String)DeclaringType(String)Name(String)Token(Int32)VirtualAddress(Nullable<UInt64>)
public void Deconstruct(out string AssemblyName, out string DeclaringType, out string Name, out int Token, out ulong? VirtualAddress)Equals(CorrelationCandidate?)
Section titled “Equals(CorrelationCandidate?)”Parameters:
other(CorrelationCandidate)
Returns: Boolean
public bool Equals(CorrelationCandidate? 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 !=(CorrelationCandidate?, CorrelationCandidate?)
Section titled “operator !=(CorrelationCandidate?, CorrelationCandidate?)”Parameters:
left(CorrelationCandidate)right(CorrelationCandidate)
Returns: Boolean
public static bool operator !=(CorrelationCandidate? left, CorrelationCandidate? right)operator ==(CorrelationCandidate?, CorrelationCandidate?)
Section titled “operator ==(CorrelationCandidate?, CorrelationCandidate?)”Parameters:
left(CorrelationCandidate)right(CorrelationCandidate)
Returns: Boolean
public static bool operator ==(CorrelationCandidate? left, CorrelationCandidate? right)