MethodInfo GetMethod(string method, DynamicProxy.DynamicProxy proxy) => proxy.ProxyType.GetMethods().First(n => n.Name == method);
private MethodInfo GetMethod(string method, DynamicProxy.DynamicProxy proxy) { return(proxy.ProxyType.GetMethods().First(n => n.Name == method)); }