13 references to None
Microsoft.Extensions.AI.Abstractions (3)
Functions\AIFunctionFactory.cs (1)
984if (returnTypeInfo.Kind is JsonTypeInfoKind.None)
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 (8)
System\Text\Json\Schema\JsonSchemaExporter.cs (2)
72if (cacheResult && typeInfo.Kind is not JsonTypeInfoKind.None && 341Debug.Assert(typeInfo.Kind is JsonTypeInfoKind.None);
System\Text\Json\Serialization\Metadata\JsonMetadataServices.Helpers.cs (1)
88Debug.Assert(typeInfo.Kind != JsonTypeInfoKind.None);
System\Text\Json\Serialization\Metadata\JsonTypeInfo.cs (4)
315if (Kind == JsonTypeInfoKind.None) 468/// are metadata-agnostic and thus always resolve to <see cref="JsonTypeInfoKind.None"/>. 1338return JsonTypeInfoKind.None; 1343case ConverterStrategy.Value: return JsonTypeInfoKind.None;
System\Text\Json\Serialization\Metadata\JsonTypeInfoOfT.cs (1)
64if (Kind == JsonTypeInfoKind.None)