FieldDefInfo
Namespace: Dotsider.Core.Analysis.Models
Assembly: Dotsider.Core.dll
Information about a field defined in the assembly’s FieldDef metadata table.
public sealed record FieldDefInfo : IEquatable<FieldDefInfo>Inheritance
Section titled “Inheritance”Object → FieldDefInfo
Implements
Section titled “Implements”Constructors
Section titled “Constructors”FieldDefInfo(int, string, string, FieldAttributes, string)
Section titled “FieldDefInfo(int, string, string, FieldAttributes, string)”Information about a field defined in the assembly’s FieldDef metadata table.
Parameters:
Token(Int32): The metadata token for this field definition.DeclaringType(String): The fully qualified name of the type that declares this field.Name(String): The name of the field.Attributes(FieldAttributes): The field attribute flags (access, static, literal, etc.).Signature(String): The decoded field type signature string.
public FieldDefInfo(int Token, string DeclaringType, string Name, FieldAttributes Attributes, string Signature)Properties
Section titled “Properties”Attributes
Section titled “Attributes”The field attribute flags (access, static, literal, etc.).
Returns: FieldAttributes
public FieldAttributes Attributes { get; init; }DeclaringType
Section titled “DeclaringType”The fully qualified name of the type that declares this field.
Returns: String
public string DeclaringType { get; init; }The name of the field.
Returns: String
public string Name { get; init; }Signature
Section titled “Signature”The decoded field type signature string.
Returns: String
public string Signature { get; init; }The metadata token for this field definition.
Returns: Int32
public int Token { get; init; }