<PackageReference Include="System.Reflection.Metadata" Version="11.0.0" />

System.Reflection.Metadata.CustomAttribute

public struct CustomAttribute
Provides information about a custom attribute.
public EntityHandle Constructor { get; }

Gets the constructor (the MethodDefinitionHandle or MemberReferenceHandle) of the custom attribute type.

public EntityHandle Parent { get; }

Gets the handle of the metadata entity the attribute is applied to.

public BlobHandle Value { get; }

Gets the value of the attribute.

public CustomAttributeValue<TType> DecodeValue<TType>(ICustomAttributeTypeProvider<TType> provider)

Decodes the arguments encoded in the value blob.