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)
245
if (effectiveUnmappedMemberHandling is JsonUnmappedMemberHandling.
Disallow
)
Microsoft.Extensions.AI.Abstractions.Tests (2)
test\Shared\JsonSchemaExporter\TestTypes.cs (2)
548
Options: new() { UnmappedMemberHandling = JsonUnmappedMemberHandling.
Disallow
});
1033
[JsonUnmappedMemberHandling(JsonUnmappedMemberHandling.
Disallow
)]
Shared (1)
JsonSchemaExporter\JsonSchemaExporter.cs (1)
245
if (effectiveUnmappedMemberHandling is JsonUnmappedMemberHandling.
Disallow
)
Shared.Tests (2)
JsonSchemaExporter\TestTypes.cs (2)
548
Options: new() { UnmappedMemberHandling = JsonUnmappedMemberHandling.
Disallow
});
1033
[JsonUnmappedMemberHandling(JsonUnmappedMemberHandling.
Disallow
)]
System.Text.Json (5)
System\Text\Json\Schema\JsonSchemaExporter.cs (1)
202
if (effectiveUnmappedMemberHandling is JsonUnmappedMemberHandling.
Disallow
)
System\Text\Json\Serialization\JsonSerializer.Helpers.cs (1)
96
handling is JsonUnmappedMemberHandling.Skip or JsonUnmappedMemberHandling.
Disallow
;
System\Text\Json\Serialization\JsonSerializer.Read.HandlePropertyName.cs (1)
44
if (jsonTypeInfo.EffectiveUnmappedMemberHandling is JsonUnmappedMemberHandling.
Disallow
)
System\Text\Json\Serialization\JsonSerializerOptions.cs (1)
182
_unmappedMemberHandling = JsonUnmappedMemberHandling.
Disallow
;
System\Text\Json\Serialization\Metadata\JsonTypeInfo.cs (1)
1089
if (UnmappedMemberHandling is JsonUnmappedMemberHandling.
Disallow
)