private static bool CanBeOverriden(IFunction functionHandle)
        {
#if RESHARPER_31
            return functionHandle.CanBeOverriden;
#else
            return functionHandle.CanBeOverriden();
#endif
        }