11 references to None
Microsoft.Extensions.AI (1)
Functions\AIFunctionFactory.cs (1)
320
case { Kind: JsonTypeInfoKind.
None
}:
Microsoft.Extensions.AI.Abstractions (2)
src\Shared\JsonSchemaExporter\JsonSchemaExporter.cs (2)
108
if (cacheResult && typeInfo.Kind is not JsonTypeInfoKind.
None
&&
426
Debug.Assert(typeInfo.Kind is JsonTypeInfoKind.
None
, "The default case should handle unrecognize type kinds.");
Shared (2)
JsonSchemaExporter\JsonSchemaExporter.cs (2)
108
if (cacheResult && typeInfo.Kind is not JsonTypeInfoKind.
None
&&
426
Debug.Assert(typeInfo.Kind is JsonTypeInfoKind.
None
, "The default case should handle unrecognize type kinds.");
System.Text.Json (6)
System\Text\Json\Schema\JsonSchemaExporter.cs (2)
82
if (cacheResult && typeInfo.Kind is not JsonTypeInfoKind.
None
&&
351
Debug.Assert(typeInfo.Kind is JsonTypeInfoKind.
None
);
System\Text\Json\Serialization\Metadata\JsonMetadataServices.Helpers.cs (1)
91
Debug.Assert(typeInfo.Kind != JsonTypeInfoKind.
None
);
System\Text\Json\Serialization\Metadata\JsonTypeInfo.cs (2)
313
if (Kind == JsonTypeInfoKind.
None
)
466
/// are metadata-agnostic and thus always resolve to <see cref="JsonTypeInfoKind.
None
"/>.
System\Text\Json\Serialization\Metadata\JsonTypeInfoOfT.cs (1)
64
if (Kind == JsonTypeInfoKind.
None
)