2 writes to IsExtensionData
System.Text.Json (2)
System\Text\Json\Serialization\Metadata\DefaultJsonTypeInfoResolver.Helpers.cs (1)
361jsonPropertyInfo.IsExtensionData = memberInfo.GetCustomAttribute<JsonExtensionDataAttribute>(inherit: false) != null;
System\Text\Json\Serialization\Metadata\JsonMetadataServices.Helpers.cs (1)
187propertyInfo.IsExtensionData = propertyInfoValues.IsExtensionData;
7 references to IsExtensionData
Microsoft.Extensions.AI.Abstractions (1)
src\Shared\JsonSchemaExporter\JsonSchemaExporter.cs (1)
267if (property is { Get: null, Set: null } or { IsExtensionData: true })
Microsoft.Extensions.AI.Abstractions.Tests (1)
Utilities\AIJsonUtilitiesTests.cs (1)
275AIJsonSchemaCreateOptions? createOptions = typeInfo.Properties.Any(prop => prop.IsExtensionData)
Shared (1)
JsonSchemaExporter\JsonSchemaExporter.cs (1)
267if (property is { Get: null, Set: null } or { IsExtensionData: true })
System.Text.Json (4)
System\Text\Json\Schema\JsonSchemaExporter.cs (1)
230if (property is { Get: null, Set: null } or { IsExtensionData: true })
System\Text\Json\Serialization\Metadata\JsonPropertyInfo.cs (2)
458if (IsExtensionData) 480this is { DeclaringType.IsValueType: false, IsIgnored: false, IsExtensionData: false } &&
System\Text\Json\Serialization\Metadata\PolymorphicTypeResolver.cs (1)
102if (property is { IsIgnored: false, IsExtensionData: false } && property.Name == propertyName)