ReadyToRunMethodEntry
Namespace: Dotsider.Core.Analysis.Models
Assembly: Dotsider.Core.dll
A managed method joined to its precompiled ReadyToRun native code: the owning assembly identity, the MethodDef token (or the instantiation for a generic), and the full ordered list of ReadyToRunCodeRange blocks that make up the body.
public sealed record ReadyToRunMethodEntry : IEquatable<ReadyToRunMethodEntry>Inheritance
Section titled “Inheritance”Object → ReadyToRunMethodEntry
Implements
Section titled “Implements”Constructors
Section titled “Constructors”ReadyToRunMethodEntry(string, Guid, int, string?, string?, string?, IReadOnlyList<ReadyToRunCodeRange>, int, int, bool, string?, long)
Section titled “ReadyToRunMethodEntry(string, Guid, int, string?, string?, string?, IReadOnlyList<ReadyToRunCodeRange>, int, int, bool, string?, long)”A managed method joined to its precompiled ReadyToRun native code: the owning assembly identity, the MethodDef token (or the instantiation for a generic), and the full ordered list of ReadyToRunCodeRange blocks that make up the body.
Parameters:
AssemblyName(String): The simple name of the assembly that owns the method.Mvid(Guid): The owning assembly’s module version id (composite identity validation).Token(Int32): The method’s metadata token (0x06000000 | rid).DeclaringType(String): The declaring type’s display name, or null when metadata is unavailable.Name(String): The method’s simple name, or null when metadata is unavailable.Signature(String): The method’s decoded signature, or null when metadata is unavailable.CodeRanges(IReadOnlyList<ReadyToRunCodeRange>): The ordered native code blocks (hot entry, funclets, cold) — never empty for a precompiled method.EntryPointRuntimeFunctionId(Int32): The index of the method’s first runtime function in the RuntimeFunctions table.RuntimeFunctionCount(Int32): The number of runtime functions the method owns (hot funclets plus cold).IsGenericInstantiation(Boolean): Whether this entry is a generic instantiation from the InstanceMethodEntryPoints table.InstantiationDisplay(String): A rendered instantiation (e.g.Describe<int>), or null for a non-generic entry.TotalSize(Int64): The total native code size in bytes, summed across CodeRanges.
public ReadyToRunMethodEntry(string AssemblyName, Guid Mvid, int Token, string? DeclaringType, string? Name, string? Signature, IReadOnlyList<ReadyToRunCodeRange> CodeRanges, int EntryPointRuntimeFunctionId, int RuntimeFunctionCount, bool IsGenericInstantiation, string? InstantiationDisplay, long TotalSize)Properties
Section titled “Properties”AssemblyName
Section titled “AssemblyName”The simple name of the assembly that owns the method.
Returns: String
public string AssemblyName { get; init; }CodeRanges
Section titled “CodeRanges”The ordered native code blocks (hot entry, funclets, cold) — never empty for a precompiled method.
Returns: IReadOnlyList<ReadyToRunCodeRange>
public IReadOnlyList<ReadyToRunCodeRange> CodeRanges { get; init; }DeclaringType
Section titled “DeclaringType”The declaring type’s display name, or null when metadata is unavailable.
Returns: String
public string? DeclaringType { get; init; }EntryPointRuntimeFunctionId
Section titled “EntryPointRuntimeFunctionId”The index of the method’s first runtime function in the RuntimeFunctions table.
Returns: Int32
public int EntryPointRuntimeFunctionId { get; init; }InstantiationDisplay
Section titled “InstantiationDisplay”A rendered instantiation (e.g. Describe<int>), or null for a non-generic entry.
Returns: String
public string? InstantiationDisplay { get; init; }IsGenericInstantiation
Section titled “IsGenericInstantiation”Whether this entry is a generic instantiation from the InstanceMethodEntryPoints table.
Returns: Boolean
public bool IsGenericInstantiation { get; init; }The owning assembly’s module version id (composite identity validation).
Returns: Guid
public Guid Mvid { get; init; }The method’s simple name, or null when metadata is unavailable.
Returns: String
public string? Name { get; init; }RuntimeFunctionCount
Section titled “RuntimeFunctionCount”The number of runtime functions the method owns (hot funclets plus cold).
Returns: Int32
public int RuntimeFunctionCount { get; init; }Signature
Section titled “Signature”The method’s decoded signature, or null when metadata is unavailable.
Returns: String
public string? Signature { get; init; }The method’s metadata token (0x06000000 | rid).
Returns: Int32
public int Token { get; init; }TotalSize
Section titled “TotalSize”The total native code size in bytes, summed across CodeRanges.
Returns: Int64
public long TotalSize { get; init; }Methods
Section titled “Methods”Deconstruct(out string, out Guid, out int, out string?, out string?, out string?, out IReadOnlyList<ReadyToRunCodeRange>, out int, out int, out bool, out string?, out long)
Section titled “Deconstruct(out string, out Guid, out int, out string?, out string?, out string?, out IReadOnlyList<ReadyToRunCodeRange>, out int, out int, out bool, out string?, out long)”Parameters:
AssemblyName(String)Mvid(Guid)Token(Int32)DeclaringType(String)Name(String)Signature(String)CodeRanges(IReadOnlyList<ReadyToRunCodeRange>)EntryPointRuntimeFunctionId(Int32)RuntimeFunctionCount(Int32)IsGenericInstantiation(Boolean)InstantiationDisplay(String)TotalSize(Int64)
public void Deconstruct(out string AssemblyName, out Guid Mvid, out int Token, out string? DeclaringType, out string? Name, out string? Signature, out IReadOnlyList<ReadyToRunCodeRange> CodeRanges, out int EntryPointRuntimeFunctionId, out int RuntimeFunctionCount, out bool IsGenericInstantiation, out string? InstantiationDisplay, out long TotalSize)Equals(object?)
Section titled “Equals(object?)”Parameters:
obj(Object)
Returns: Boolean
public override bool Equals(object? obj)Equals(ReadyToRunMethodEntry?)
Section titled “Equals(ReadyToRunMethodEntry?)”Parameters:
other(ReadyToRunMethodEntry)
Returns: Boolean
public bool Equals(ReadyToRunMethodEntry? 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 !=(ReadyToRunMethodEntry?, ReadyToRunMethodEntry?)
Section titled “operator !=(ReadyToRunMethodEntry?, ReadyToRunMethodEntry?)”Parameters:
left(ReadyToRunMethodEntry)right(ReadyToRunMethodEntry)
Returns: Boolean
public static bool operator !=(ReadyToRunMethodEntry? left, ReadyToRunMethodEntry? right)operator ==(ReadyToRunMethodEntry?, ReadyToRunMethodEntry?)
Section titled “operator ==(ReadyToRunMethodEntry?, ReadyToRunMethodEntry?)”Parameters:
left(ReadyToRunMethodEntry)right(ReadyToRunMethodEntry)
Returns: Boolean
public static bool operator ==(ReadyToRunMethodEntry? left, ReadyToRunMethodEntry? right)