2 references to GetTypeInfoForRootType
System.Text.Json (2)
System\Text\Json\Serialization\JsonSerializer.Helpers.cs (1)
45: options.GetTypeInfoForRootType(inputType);
System\Text\Json\Serialization\JsonSerializerOptions.Caching.cs (1)
175polymorphicTypeInfo = GetTypeInfoForRootType(runtimeType, fallBackToNearestAncestorType: true);