Ejemplo n.º 1
0
        private static ICacheableMethodFinder GetNonCachedFinder(Type classType, string methodName, bool isStatic, Assume assume)
        {
            if (assume.HasFlag(Assume.UnambiguousName))
            {
                return(new SingleMethodFinder(classType, methodName, isStatic));
            }

            return(new MethodFinder(classType, methodName, isStatic));
        }