protected override ProjectReferenceNode CreateProjectReferenceNode(VSCOMPONENTSELECTORDATA selectorData)
        {
            ProjectReferenceNode node     = new XSharpProjectReferenceNode(this.ProjectMgr, selectorData.bstrTitle, selectorData.bstrFile, selectorData.bstrProjRef);
            ReferenceNode        existing = null;

            if (isDuplicateNode(node, ref existing))
            {
                ProjectReferenceNode existingNode = existing as ProjectReferenceNode;
                return(existingNode);
            }
            return(node);
        }
        protected override ProjectReferenceNode CreateProjectReferenceNode(ProjectElement element)
        {
            ProjectReferenceNode node     = new XSharpProjectReferenceNode(this.ProjectMgr, element);
            ReferenceNode        existing = null;

            if (isDuplicateNode(node, ref existing))
            {
                ProjectReferenceNode existingNode = existing as ProjectReferenceNode;
                return(existingNode);
            }
            return(node);
        }