12 references to Disallow
Microsoft.AspNetCore.OpenApi.Tests (1)
Services\OpenApiSchemaService\OpenApiSchemaService.RequestBodySchemas.cs (1)
843[JsonUnmappedMemberHandling(JsonUnmappedMemberHandling.Disallow)]
Microsoft.Extensions.AI.Abstractions (1)
src\Shared\JsonSchemaExporter\JsonSchemaExporter.cs (1)
245if (effectiveUnmappedMemberHandling is JsonUnmappedMemberHandling.Disallow)
Microsoft.Extensions.AI.Abstractions.Tests (2)
test\Shared\JsonSchemaExporter\TestTypes.cs (2)
548Options: new() { UnmappedMemberHandling = JsonUnmappedMemberHandling.Disallow }); 1033[JsonUnmappedMemberHandling(JsonUnmappedMemberHandling.Disallow)]
Shared (1)
JsonSchemaExporter\JsonSchemaExporter.cs (1)
245if (effectiveUnmappedMemberHandling is JsonUnmappedMemberHandling.Disallow)
Shared.Tests (2)
JsonSchemaExporter\TestTypes.cs (2)
548Options: new() { UnmappedMemberHandling = JsonUnmappedMemberHandling.Disallow }); 1033[JsonUnmappedMemberHandling(JsonUnmappedMemberHandling.Disallow)]
System.Text.Json (5)
System\Text\Json\Schema\JsonSchemaExporter.cs (1)
202if (effectiveUnmappedMemberHandling is JsonUnmappedMemberHandling.Disallow)
System\Text\Json\Serialization\JsonSerializer.Helpers.cs (1)
96handling is JsonUnmappedMemberHandling.Skip or JsonUnmappedMemberHandling.Disallow;
System\Text\Json\Serialization\JsonSerializer.Read.HandlePropertyName.cs (1)
44if (jsonTypeInfo.EffectiveUnmappedMemberHandling is JsonUnmappedMemberHandling.Disallow)
System\Text\Json\Serialization\JsonSerializerOptions.cs (1)
182_unmappedMemberHandling = JsonUnmappedMemberHandling.Disallow;
System\Text\Json\Serialization\Metadata\JsonTypeInfo.cs (1)
1089if (UnmappedMemberHandling is JsonUnmappedMemberHandling.Disallow)