15 references to GetTypeInfoInternal
System.Text.Json (15)
System\Text\Json\Nodes\JsonValueOfTCustomized.cs (1)
34
jsonTypeInfo = (JsonTypeInfo<TValue>)options.
GetTypeInfoInternal
(typeof(TValue));
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)
343
_jsonTypeInfo ??= Options.
GetTypeInfoInternal
(PropertyType);
810
?? Options.
GetTypeInfoInternal
(typeof(TValue));
System\Text\Json\Serialization\Metadata\JsonTypeInfo.cs (2)
698
_elementTypeInfo ??= Options.
GetTypeInfoInternal
(ElementType);
704
_keyTypeInfo ??= Options.
GetTypeInfoInternal
(KeyType);
System\Text\Json\Serialization\Metadata\PolymorphicTypeResolver.cs (2)
298
return options.
GetTypeInfoInternal
(type, ensureNotNull: null);
327
=> _jsonTypeInfo ??= options.
GetTypeInfoInternal
(DerivedType);
System\Text\Json\Serialization\WriteStackFrame.cs (1)
129
JsonTypeInfo typeInfo = options.
GetTypeInfoInternal
(runtimeType, fallBackToNearestAncestorType: true);