17 references to GetTypeInfoInternal
System.Text.Json (17)
System\Text\Json\Nodes\JsonValueOfTCustomized.cs (1)
41
jsonTypeInfo = (JsonTypeInfo<TValue>)options.
GetTypeInfoInternal
(typeof(TValue));
System\Text\Json\Schema\JsonSchemaExporter.cs (2)
40
JsonTypeInfo typeInfo = options.
GetTypeInfoInternal
(type);
134
JsonTypeInfo derivedTypeInfo = typeInfo.Options.
GetTypeInfoInternal
(derivedType.DerivedType);
System\Text\Json\Serialization\JsonResumableConverterOfT.cs (2)
27
JsonTypeInfo jsonTypeInfo = options.
GetTypeInfoInternal
(typeToConvert);
43
JsonTypeInfo typeInfo = options.
GetTypeInfoInternal
(typeof(T));
System\Text\Json\Serialization\JsonSerializerOptions.Caching.cs (4)
67
return
GetTypeInfoInternal
(type, resolveIfMutable: true);
95
typeInfo =
GetTypeInfoInternal
(type, ensureNotNull: null, resolveIfMutable: true);
159
_lastTypeInfo = jsonTypeInfo =
GetTypeInfoInternal
(type, fallBackToNearestAncestorType: fallBackToNearestAncestorType);
194
return _objectTypeInfo ??=
GetTypeInfoInternal
(JsonTypeInfo.ObjectType);
System\Text\Json\Serialization\JsonSerializerOptions.Converters.cs (1)
66
JsonTypeInfo jsonTypeInfo =
GetTypeInfoInternal
(typeToConvert, ensureConfigured: false, resolveIfMutable: true);
System\Text\Json\Serialization\Metadata\JsonPropertyInfo.cs (2)
430
_jsonTypeInfo ??= Options.
GetTypeInfoInternal
(PropertyType);
891
?? Options.
GetTypeInfoInternal
(typeof(TValue));
System\Text\Json\Serialization\Metadata\JsonTypeInfo.cs (2)
766
_elementTypeInfo ??= Options.
GetTypeInfoInternal
(ElementType);
772
_keyTypeInfo ??= Options.
GetTypeInfoInternal
(KeyType);
System\Text\Json\Serialization\Metadata\PolymorphicTypeResolver.cs (2)
45
JsonTypeInfo derivedTypeInfo = options.
GetTypeInfoInternal
(derivedType);
316
return options.
GetTypeInfoInternal
(type, ensureNotNull: null);
System\Text\Json\Serialization\WriteStackFrame.cs (1)
129
JsonTypeInfo typeInfo = options.
GetTypeInfoInternal
(runtimeType, fallBackToNearestAncestorType: true);