8 references to GetCompatibleGenericInterface
System.Text.Json (8)
System\Text\Json\Serialization\Converters\Collection\IAsyncEnumerableConverterFactory.cs (1)
33
=> type.
GetCompatibleGenericInterface
(typeof(IAsyncEnumerable<>));
System\Text\Json\Serialization\Converters\Collection\IEnumerableConverterFactory.cs (7)
78
else if ((actualTypeToConvert = typeToConvert.
GetCompatibleGenericInterface
(typeof(IDictionary<,>))) != null)
86
else if ((actualTypeToConvert = typeToConvert.
GetCompatibleGenericInterface
(typeof(IReadOnlyDictionary<,>))) != null)
100
else if ((actualTypeToConvert = typeToConvert.
GetCompatibleGenericInterface
(typeof(IList<>))) != null)
106
else if ((actualTypeToConvert = typeToConvert.
GetCompatibleGenericInterface
(typeof(ISet<>))) != null)
113
else if ((actualTypeToConvert = typeToConvert.
GetCompatibleGenericInterface
(typeof(IReadOnlySet<>))) != null)
120
else if ((actualTypeToConvert = typeToConvert.
GetCompatibleGenericInterface
(typeof(ICollection<>))) != null)
150
else if ((actualTypeToConvert = typeToConvert.
GetCompatibleGenericInterface
(typeof(IEnumerable<>))) != null)