How to access custom method attributes from ProxyGenerationHook in Castle.DynamicProxy
问题 I'm implementing Interceptor mechanism in .NET with Castle.DynamicProxy (Castle.Core 4.4.0). I'm following this tutorial for selecting which method to intercept: https://kozmic.net/2009/01/17/castle-dynamic-proxy-tutorial-part-iii-selecting-which-methods-to/ It was given an example in this article about "selecting which methods to intercept": public class FreezableProxyGenerationHook:IProxyGenerationHook { public bool ShouldInterceptMethod(Type type, MethodInfo memberInfo) { return