11 references to Enumerable
Microsoft.AspNetCore.OpenApi (1)
Extensions\JsonTypeInfoExtensions.cs (1)
80
if (jsonTypeInfo is JsonTypeInfo { Kind: JsonTypeInfoKind.
Enumerable
} || type.IsArray)
Microsoft.Extensions.AI.Abstractions (1)
Utilities\AIJsonUtilities.Schema.Create.cs (1)
302
if (ctx.TypeInfo.Kind is JsonTypeInfoKind.
Enumerable
&& !objSchema.ContainsKey(ItemsPropertyName))
System.Text.Json (9)
System\Text\Json\Schema\JsonSchemaExporter.cs (1)
283
case JsonTypeInfoKind.
Enumerable
:
System\Text\Json\Serialization\Metadata\JsonTypeInfo.cs (6)
123
if (Kind is not (JsonTypeInfoKind.Object or JsonTypeInfoKind.
Enumerable
or JsonTypeInfoKind.Dictionary))
153
if (Kind is not (JsonTypeInfoKind.Object or JsonTypeInfoKind.
Enumerable
or JsonTypeInfoKind.Dictionary))
183
if (Kind is not (JsonTypeInfoKind.Object or JsonTypeInfoKind.
Enumerable
or JsonTypeInfoKind.Dictionary))
219
if (Kind is not (JsonTypeInfoKind.Object or JsonTypeInfoKind.
Enumerable
or JsonTypeInfoKind.Dictionary))
1705
if (Kind is JsonTypeInfoKind.Object or JsonTypeInfoKind.
Enumerable
or JsonTypeInfoKind.Dictionary)
1802
case ConverterStrategy.Enumerable: return JsonTypeInfoKind.
Enumerable
;
System\Text\Json\Serialization\ReadStackFrame.cs (1)
122
public bool IsProcessingEnumerable() => JsonTypeInfo.Kind is JsonTypeInfoKind.
Enumerable
;
System\Text\Json\ThrowHelper.Serialization.cs (1)
696
else if (typeInfo.Kind is JsonTypeInfoKind.
Enumerable
or JsonTypeInfoKind.Dictionary)