public static MethodReflector GetReflector(this MethodInfo method, CallOptions callOption) { if (method == null) { throw new ArgumentNullException(nameof(method)); } return(MethodReflector.Create(method, callOption)); }
public static MethodInfo GetMethodInfo(this MethodReflector reflector) => reflector?.GetMemberInfo();