MstatRvaField
Namespace: Dotsider.Core.Analysis.Models
Assembly: Dotsider.Core.dll
One field-RVA data entry from an ILC size report (format 2.1+) — the initial data of a
field mapped directly into the image, typically compiler-generated arrays behind
collection expressions and ReadOnlySpan literals. For back-compat these bytes are
also summed into the FieldRvaData blob entry.
public sealed record MstatRvaField : IEquatable<MstatRvaField>Inheritance
Section titled “Inheritance”Object → MstatRvaField
Implements
Section titled “Implements”Constructors
Section titled “Constructors”MstatRvaField(string, string, int, string?, string)
Section titled “MstatRvaField(string, string, int, string?, string)”One field-RVA data entry from an ILC size report (format 2.1+) — the initial data of a
field mapped directly into the image, typically compiler-generated arrays behind
collection expressions and ReadOnlySpan literals. For back-compat these bytes are
also summed into the FieldRvaData blob entry.
Parameters:
Name(String): The field’s display name, including its declaring type (Type::Field).AssemblyName(String): The simple name of the assembly that defines the field.Size(Int32): The RVA data size in bytes.NodeName(String): The compiler’s dependency-graph node name; joins to the DGML nodeLabel.Namespace(String): The declaring type’s namespace, or an empty string for the global namespace.
public MstatRvaField(string Name, string AssemblyName, int Size, string? NodeName, string Namespace)MstatRvaField(string, string, int, string?)
Section titled “MstatRvaField(string, string, int, string?)”The pre-namespace shape (four arguments), preserved so existing construction sites keep compiling. Namespace defaults to an empty string.
Parameters:
name(String): The field’s display name, including its declaring type.assemblyName(String): The simple name of the defining assembly.size(Int32): The RVA data size in bytes.nodeName(String): The compiler’s dependency-graph node name.
public MstatRvaField(string name, string assemblyName, int size, string? nodeName)Properties
Section titled “Properties”AssemblyName
Section titled “AssemblyName”The simple name of the assembly that defines the field.
Returns: String
public string AssemblyName { get; init; }The field’s display name, including its declaring type (Type::Field).
Returns: String
public string Name { get; init; }Namespace
Section titled “Namespace”The declaring type’s namespace, or an empty string for the global namespace.
Returns: String
public string Namespace { get; init; }NodeName
Section titled “NodeName”The compiler’s dependency-graph node name; joins to the DGML node Label.
Returns: String
public string? NodeName { get; init; }The RVA data size in bytes.
Returns: Int32
public int Size { get; init; }Methods
Section titled “Methods”Deconstruct(out string, out string, out int, out string?)
Section titled “Deconstruct(out string, out string, out int, out string?)”The pre-namespace four-output deconstruction, preserved alongside the generated five-output one.
Parameters:
name(String): The field’s display name, including its declaring type.assemblyName(String): The simple name of the defining assembly.size(Int32): The RVA data size in bytes.nodeName(String): The compiler’s dependency-graph node name.
public void Deconstruct(out string name, out string assemblyName, out int size, out string? nodeName)