12 references to Dictionary
Microsoft.AspNetCore.OpenApi (1)
Extensions\JsonTypeInfoExtensions.cs (1)
77
if (jsonTypeInfo is JsonTypeInfo { Kind: JsonTypeInfoKind.
Dictionary
})
Microsoft.Extensions.AI.Abstractions (2)
src\Shared\JsonSchemaExporter\JsonSchemaExporter.cs (1)
396
case JsonTypeInfoKind.
Dictionary
:
src\Shared\JsonSchemaExporter\JsonSchemaExporter.ReflectionHelpers.cs (1)
38
Debug.Assert(typeInfo.Kind is JsonTypeInfoKind.Enumerable or JsonTypeInfoKind.
Dictionary
, "TypeInfo must be of collection type");
Shared (2)
JsonSchemaExporter\JsonSchemaExporter.cs (1)
396
case JsonTypeInfoKind.
Dictionary
:
JsonSchemaExporter\JsonSchemaExporter.ReflectionHelpers.cs (1)
38
Debug.Assert(typeInfo.Kind is JsonTypeInfoKind.Enumerable or JsonTypeInfoKind.
Dictionary
, "TypeInfo must be of collection type");
System.Text.Json (7)
System\Text\Json\Schema\JsonSchemaExporter.cs (1)
322
case JsonTypeInfoKind.
Dictionary
:
System\Text\Json\Serialization\Metadata\JsonTypeInfo.cs (4)
126
if (Kind is not (JsonTypeInfoKind.Object or JsonTypeInfoKind.Enumerable or JsonTypeInfoKind.
Dictionary
))
156
if (Kind is not (JsonTypeInfoKind.Object or JsonTypeInfoKind.Enumerable or JsonTypeInfoKind.
Dictionary
))
186
if (Kind is not (JsonTypeInfoKind.Object or JsonTypeInfoKind.Enumerable or JsonTypeInfoKind.
Dictionary
))
222
if (Kind is not (JsonTypeInfoKind.Object or JsonTypeInfoKind.Enumerable or JsonTypeInfoKind.
Dictionary
))
System\Text\Json\Serialization\ReadStackFrame.cs (1)
119
return JsonTypeInfo.Kind is JsonTypeInfoKind.
Dictionary
;
System\Text\Json\ThrowHelper.Serialization.cs (1)
632
else if (typeInfo.Kind is JsonTypeInfoKind.Enumerable or JsonTypeInfoKind.
Dictionary
)