private BindingFlag GetBindingFlags(DynamicMetaObjectBinder payload) { if ((payload is CSharpGetMemberBinder) || (payload is CSharpGetIndexBinder)) { return BindingFlag.BIND_RVALUEREQUIRED; } return 0; } }