Skip to content

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>

ObjectReadyToRunMethodEntry

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&lt;int&gt;), 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)

The simple name of the assembly that owns the method.

Returns: String

public string AssemblyName { get; init; }

The ordered native code blocks (hot entry, funclets, cold) — never empty for a precompiled method.

Returns: IReadOnlyList<ReadyToRunCodeRange>

public IReadOnlyList<ReadyToRunCodeRange> CodeRanges { get; init; }

The declaring type’s display name, or null when metadata is unavailable.

Returns: String

public string? DeclaringType { get; init; }

The index of the method’s first runtime function in the RuntimeFunctions table.

Returns: Int32

public int EntryPointRuntimeFunctionId { get; init; }

A rendered instantiation (e.g. Describe&lt;int&gt;), or null for a non-generic entry.

Returns: String

public string? InstantiationDisplay { get; init; }

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; }

The number of runtime functions the method owns (hot funclets plus cold).

Returns: Int32

public int RuntimeFunctionCount { get; init; }

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; }

The total native code size in bytes, summed across CodeRanges.

Returns: Int64

public long TotalSize { get; init; }

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:

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)

Parameters:

Returns: Boolean

public override bool Equals(object? obj)

Parameters:

Returns: Boolean

public bool Equals(ReadyToRunMethodEntry? other)

Returns: Int32

public override int GetHashCode()

Returns: String

public override string ToString()

operator !=(ReadyToRunMethodEntry?, ReadyToRunMethodEntry?)

Section titled “operator !=(ReadyToRunMethodEntry?, ReadyToRunMethodEntry?)”

Parameters:

Returns: Boolean

public static bool operator !=(ReadyToRunMethodEntry? left, ReadyToRunMethodEntry? right)

operator ==(ReadyToRunMethodEntry?, ReadyToRunMethodEntry?)

Section titled “operator ==(ReadyToRunMethodEntry?, ReadyToRunMethodEntry?)”

Parameters:

Returns: Boolean

public static bool operator ==(ReadyToRunMethodEntry? left, ReadyToRunMethodEntry? right)