public sealed override MethodBase SelectMethod(BindingFlags bindingAttr, MethodBase[] match, Type[] types, ParameterModifier[] modifiers) { if (!((bindingAttr & ~SupportedBindingFlags) == 0) && modifiers == null) { throw new NotImplementedException(); } return(LimitedBinder.SelectMethod(match, types)); }
public sealed override MethodBase BindToMethod(BindingFlags bindingAttr, MethodBase[] match, ref object[] args, ParameterModifier[] modifiers, CultureInfo culture, string[] names, out object state) { if (!((bindingAttr & ~SupportedBindingFlags) == 0) && modifiers == null && culture == null && names == null) { throw new NotImplementedException(); } state = null; return(LimitedBinder.BindToMethod(match, ref args)); }
public sealed override PropertyInfo SelectProperty(BindingFlags bindingAttr, PropertyInfo[] match, Type returnType, Type[] indexes, ParameterModifier[] modifiers) { if (!((bindingAttr & ~SupportedBindingFlags) == 0) && modifiers == null) { throw new NotImplementedException(); } PropertyInfo[] memberArray = match.ToArray(); if (memberArray.Length == 0) { return(null); } return(LimitedBinder.SelectProperty(memberArray, returnType, indexes)); }