4 references to TypeInfo
Microsoft.Extensions.AI.Abstractions (3)
Utilities\AIJsonSchemaCreateContext.cs (1)
100GetCustomAttr(TypeInfo.Type);
Utilities\AIJsonUtilities.Schema.cs (2)
273if (key.IncludeTypeInEnumSchemas && ctx.TypeInfo.Type.IsEnum && objSchema.ContainsKey(EnumPropertyName) && !objSchema.ContainsKey(TypePropertyName)) 385if (ctx.TypeInfo.NumberHandling is not JsonNumberHandling.Strict && schema["type"] is JsonArray typeArray)
Microsoft.Extensions.AI.Abstractions.Tests (1)
Utilities\AIJsonUtilitiesTests.cs (1)
157return context.TypeInfo.Type == typeof(int) && context.GetCustomAttribute<DescriptionAttribute>() is DescriptionAttribute attr