Skip to content

MstatType

Namespace: Dotsider.Core.Analysis.Models

Assembly: Dotsider.Core.dll

One constructed type from an ILC size report. The size is the type’s MethodTable data — the runtime type structure — not the code of its methods, which is reported per method.

public sealed record MstatType : IEquatable<MstatType>

ObjectMstatType

MstatType(string, string, string, int, string?)

Section titled “MstatType(string, string, string, int, string?)”

One constructed type from an ILC size report. The size is the type’s MethodTable data — the runtime type structure — not the code of its methods, which is reported per method.

Parameters:

  • Name (String): The type’s display name, with generic arguments rendered when instantiated.
  • Namespace (String): The type’s namespace, or an empty string for the global namespace.
  • AssemblyName (String): The simple name of the assembly that defines the type.
  • Size (Int32): The MethodTable size in bytes.
  • NodeName (String): The compiler’s dependency-graph node name (format 2.0+), or null in 1.x reports; joins to the DGML node Label.
public MstatType(string Name, string Namespace, string AssemblyName, int Size, string? NodeName)

The simple name of the assembly that defines the type.

Returns: String

public string AssemblyName { get; init; }

The type’s display name, with generic arguments rendered when instantiated.

Returns: String

public string Name { get; init; }

The type’s namespace, or an empty string for the global namespace.

Returns: String

public string Namespace { get; init; }

The compiler’s dependency-graph node name (format 2.0+), or null in 1.x reports; joins to the DGML node Label.

Returns: String

public string? NodeName { get; init; }

The MethodTable size in bytes.

Returns: Int32

public int Size { get; init; }