3 references to TryGetGenericInterfaceType
System.ComponentModel.Composition (3)
Microsoft\Internal\Collections\CollectionServices.cs (2)
41if (ReflectionServices.TryGetGenericInterfaceType(type, IEnumerableOfTType, out Type? closedType)) 51if (ReflectionServices.TryGetGenericInterfaceType(type, ICollectionOfTType, out Type? closedType))
Microsoft\Internal\GenerationServices.cs (1)
222if (ReflectionServices.TryGetGenericInterfaceType(enumerable.GetType(), GenerationServices.s_iEnumerableTypeofT, out Type? closedType))