/*
         * Returns an array of the assemblies defined in the bin and assembly reference config section
         */

        public String[] GetTopLevelAssemblyReferences(string virtualPath)
        {
            Debug.Trace("CBM", "GetHostedVirtualCodeDirectories");

            if (virtualPath == null)
            {
                throw new ArgumentNullException("virtualPath");
            }

            EnsureHostCreated();

            return(_host.GetTopLevelAssemblyReferences(VirtualPath.Create(virtualPath)));
        }