Converts a MemberInfo into a Func which will fetch the value for the Member.
Handles either fields or properties.
If there is no field or property with the matching MemberInfo it'll throw
public static Func<object, object?, object?> GetValueFetcherOrThrow(MemberInfo? member)
||The member info to convert.
|Func<object, object?, object?>
||A Func that takes in the object/indexes and returns the value.