private static bool IsInterfaceMember(TypeMember node)
        {
            var declaringType = node.DeclaringType;
            if (null == declaringType)
                throw CompilerErrorFactory.NotImplemented(node, string.Format("{0} '{1}' is not attached to any type. It should probably have been consumed by a macro but it hasn't.", node.GetType().Name, node.Name));

            return NodeType.InterfaceDefinition == declaringType.NodeType;
        }