1 write to PropertyInfo
System.Text.Json (1)
System\Text\Json\Schema\JsonSchemaExporterContext.cs (1)
22
PropertyInfo
= propertyInfo;
9 references to PropertyInfo
Microsoft.AspNetCore.OpenApi (2)
Services\Schemas\OpenApiSchemaService.cs (2)
95
if (context.
PropertyInfo
is { } jsonPropertyInfo)
107
if (context.
PropertyInfo
is { AttributeProvider: { } attributeProvider })
Microsoft.Extensions.AI.Abstractions.Tests (3)
test\Shared\JsonSchemaExporter\TestTypes.cs (3)
774
if (ctx.
PropertyInfo
is null || schema is not JsonObject jObj)
1304
GetAttrs(ctx.
PropertyInfo
?.AttributeProvider) ??
1305
GetAttrs(ctx.
PropertyInfo
?.AssociatedParameter?.AttributeProvider) ??
Shared.Tests (3)
JsonSchemaExporter\TestTypes.cs (3)
774
if (ctx.
PropertyInfo
is null || schema is not JsonObject jObj)
1304
GetAttrs(ctx.
PropertyInfo
?.AttributeProvider) ??
1305
GetAttrs(ctx.
PropertyInfo
?.AssociatedParameter?.AttributeProvider) ??
System.Text.Json (1)
System\Text\Json\Schema\JsonSchemaExporter.cs (1)
438
(JsonTypeInfo TypeInfo, JsonPropertyInfo? PropertyInfo) key = (context.TypeInfo, context.
PropertyInfo
);