Skip to content

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>

ObjectFieldDefInfo

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)

The field attribute flags (access, static, literal, etc.).

Returns: FieldAttributes

public FieldAttributes Attributes { get; init; }

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

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