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