public static bool IsInterfaceImplementation(this ITypeDefinitionMember member)
        {
            IMethodDefinition method = member as IMethodDefinition;

            if (method != null)
            {
                return(method.IsInterfaceImplementation());
            }

            IPropertyDefinition property = member as IPropertyDefinition;

            if (property != null)
            {
                return(property.Accessors.Any(m => m.ResolvedMethod.IsInterfaceImplementation()));
            }

            IEventDefinition evnt = member as IEventDefinition;

            if (evnt != null)
            {
                return(evnt.Accessors.Any(m => m.ResolvedMethod.IsInterfaceImplementation()));
            }

            return(false);
        }