6 references to GetCompatibleGenericBaseClass
System.Text.Json (6)
System\Text\Json\Serialization\Converters\Collection\IEnumerableConverterFactory.cs (6)
55
else if ((actualTypeToConvert = typeToConvert.
GetCompatibleGenericBaseClass
(typeof(List<>))) != null)
61
else if ((actualTypeToConvert = typeToConvert.
GetCompatibleGenericBaseClass
(typeof(Dictionary<,>))) != null)
117
else if ((actualTypeToConvert = typeToConvert.
GetCompatibleGenericBaseClass
(typeof(Stack<>))) != null)
123
else if ((actualTypeToConvert = typeToConvert.
GetCompatibleGenericBaseClass
(typeof(Queue<>))) != null)
129
else if ((actualTypeToConvert = typeToConvert.
GetCompatibleGenericBaseClass
(typeof(ConcurrentStack<>))) != null)
135
else if ((actualTypeToConvert = typeToConvert.
GetCompatibleGenericBaseClass
(typeof(ConcurrentQueue<>))) != null)