<PackageReference Include="System.ServiceModel.Primitives" Version="8.1.1" />

System.ServiceModel.ReflectionExtensions

static class ReflectionExtensions
namespace System.ServiceModel { internal static class ReflectionExtensions { public static Assembly Assembly(this Type type); public static Type BaseType(this Type type); public static bool ContainsGenericParameters(this Type type); public static ConstructorInfo GetConstructor(this Type type, Type[] types); public static ConstructorInfo GetConstructor(this Type type, BindingFlags bindingAttr, object binder, Type[] types, object[] modifiers); public static PropertyInfo GetProperty(this Type type, string name, BindingFlags bindingAttr); public static Type[] GetGenericArguments(this Type type); public static Type[] GetInterfaces(this Type type); public static bool IsAbstract(this Type type); public static bool IsAssignableFrom(this Type type, Type otherType); public static bool IsClass(this Type type); public static bool IsDefined(this Type type, Type attributeType, bool inherit); public static bool IsEnum(this Type type); public static bool IsGenericType(this Type type); public static bool IsInterface(this Type type); public static bool IsInstanceOfType(this Type type, object o); public static bool IsMarshalByRef(this Type type); public static bool IsNotPublic(this Type type); public static bool IsSealed(this Type type); public static bool IsValueType(this Type type); public static InterfaceMapping GetInterfaceMap(this Type type, Type interfaceType); public static MemberInfo[] GetMember(this Type type, string name, BindingFlags bindingAttr); public static MemberInfo[] GetMembers(this Type type, BindingFlags bindingAttr); public static MethodInfo GetMethod(this Type type, string name); public static MethodInfo GetMethod(this Type type, string name, Type[] types); public static TypeCode GetTypeCode(this Type type); public static bool IsPublic(this ConstructorInfo ci); public static object Invoke(this ConstructorInfo ci, BindingFlags invokeAttr, object binder, object[] parameters, CultureInfo culture); public static RuntimeMethodHandle MethodHandle(this MethodBase mb); public static RuntimeMethodHandle MethodHandle(this MethodInfo mi); public static Type ReflectedType(this MethodInfo mi); } }