MiniRack by Daniel Crenna

<PackageReference Include="MiniRack" Version="0.0.1" />

 CommonReflectionUtil

static class CommonReflectionUtil
public static void Assert(bool b)

public static TDelegate BindMethodToDelegate<TDelegate>(MethodInfo methodInfo)

public static ConstructorInfo FindConstructor(Type type, bool isStatic, Type[] argumentTypes)

public static FieldInfo FindField(Type containingType, string fieldName, bool isStatic, Type fieldType)

public static MethodInfo FindMethod(Type containingType, string methodName, bool isStatic, Type[] argumentTypes, Type returnType)

public static T MakeDelegate<T>(MethodInfo method)

public static T MakeDelegate<T>(object target, MethodInfo method)

public static Delegate MakeDelegate(Type delegateType, object target, MethodInfo method)

public static Func<TInstance, TDelegate> MakeFastCreateDelegate<TInstance, TDelegate>(MethodInfo methodInfo)

public static TDelegate MakeFastNewObject<TDelegate>(Type type)

public static object ReadField(FieldInfo fieldInfo, object target)

public static void WriteField(FieldInfo fieldInfo, object target, object value)