17 references to GetTypeInfoInternal
System.Text.Json (17)
System\Text\Json\Nodes\JsonValueOfTCustomized.cs (1)
41jsonTypeInfo = (JsonTypeInfo<TValue>)options.GetTypeInfoInternal(typeof(TValue));
System\Text\Json\Schema\JsonSchemaExporter.cs (2)
40JsonTypeInfo typeInfo = options.GetTypeInfoInternal(type); 134JsonTypeInfo derivedTypeInfo = typeInfo.Options.GetTypeInfoInternal(derivedType.DerivedType);
System\Text\Json\Serialization\JsonResumableConverterOfT.cs (2)
27JsonTypeInfo jsonTypeInfo = options.GetTypeInfoInternal(typeToConvert); 43JsonTypeInfo typeInfo = options.GetTypeInfoInternal(typeof(T));
System\Text\Json\Serialization\JsonSerializerOptions.Caching.cs (4)
67return GetTypeInfoInternal(type, resolveIfMutable: true); 95typeInfo = GetTypeInfoInternal(type, ensureNotNull: null, resolveIfMutable: true); 159_lastTypeInfo = jsonTypeInfo = GetTypeInfoInternal(type, fallBackToNearestAncestorType: fallBackToNearestAncestorType); 194return _objectTypeInfo ??= GetTypeInfoInternal(JsonTypeInfo.ObjectType);
System\Text\Json\Serialization\JsonSerializerOptions.Converters.cs (1)
66JsonTypeInfo 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)
45JsonTypeInfo derivedTypeInfo = options.GetTypeInfoInternal(derivedType); 316return options.GetTypeInfoInternal(type, ensureNotNull: null);
System\Text\Json\Serialization\WriteStackFrame.cs (1)
129JsonTypeInfo typeInfo = options.GetTypeInfoInternal(runtimeType, fallBackToNearestAncestorType: true);