System\Reflection\RuntimeCustomAttributeData.NativeAot.cs (14)
436HandleType.ConstantBooleanValue => CreateType(CustomAttributeEncoding.Boolean),
437HandleType.ConstantCharValue => CreateType(CustomAttributeEncoding.Char),
438HandleType.ConstantByteValue => CreateType(CustomAttributeEncoding.Byte),
439HandleType.ConstantSByteValue => CreateType(CustomAttributeEncoding.SByte),
440HandleType.ConstantInt16Value => CreateType(CustomAttributeEncoding.Int16),
441HandleType.ConstantUInt16Value => CreateType(CustomAttributeEncoding.UInt16),
442HandleType.ConstantInt32Value => CreateType(CustomAttributeEncoding.Int32),
443HandleType.ConstantUInt32Value => CreateType(CustomAttributeEncoding.UInt32),
444HandleType.ConstantInt64Value => CreateType(CustomAttributeEncoding.Int64),
445HandleType.ConstantUInt64Value => CreateType(CustomAttributeEncoding.UInt64),
446HandleType.ConstantSingleValue => CreateType(CustomAttributeEncoding.Float),
447HandleType.ConstantDoubleValue => CreateType(CustomAttributeEncoding.Double),
449HandleType.ConstantStringValue or HandleType.ConstantReferenceValue => CreateType(CustomAttributeEncoding.String),
450HandleType.TypeDefinition or HandleType.TypeReference or HandleType.TypeSpecification => CreateType(CustomAttributeEncoding.Type),