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