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

System.Reflection.Metadata.SerializationTypeCode

public enum SerializationTypeCode
Specifies type codes used to encode the types of values in a CustomAttributeValue<T> blob.
Boolean = 2

A value equivalent to Boolean.

Byte = 5

A value equivalent to Byte.

Char = 3

A value equivalent to Char.

Double = 13

A value equivalent to Double.

Enum = 85

The attribute argument is an Enum instance.

Int16 = 6

A value equivalent to Int16.

Int32 = 8

A value equivalent to Int32.

Int64 = 10

A value equivalent to Int64.

Invalid = 0

A value equivalent to Invalid.

SByte = 4

A value equivalent to SByte.

Single = 12

A value equivalent to Single.

String = 14

A value equivalent to String.

SZArray = 29

A value equivalent to SZArray.

The attribute argument is "boxed" (passed to a parameter, field, or property of type object) and carries type information in the attribute blob.

Type = 80

The attribute argument is a Type instance.

UInt16 = 7

A value equivalent to UInt16.

UInt32 = 9

A value equivalent to UInt32.

UInt64 = 11

A value equivalent to UInt64.