public static TProperty GetValueDirect <TProperty>(this PropertyInfo pi, TypedReference tr) { return(PropertyRefHelper <TProperty> .GetValue(pi.GetGetMethod(true).MethodHandle.GetFunctionPointer(), tr)); }
public static void SetValueDirect <TProperty>(this PropertyInfo pi, TypedReference tr, TProperty value) { PropertyRefHelper <TProperty> .SetValue(pi.GetSetMethod(true).MethodHandle.GetFunctionPointer(), tr, value); }