/*
         * Returns the compiler type and parameters that need to be used to build
         * a given file.
         */

        public void GetCompilerParameters(string virtualPath,
                                          out Type codeDomProviderType, out CompilerParameters compilerParameters)
        {
            Debug.Trace("CBM", "GetCompilerParameters " + virtualPath);

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

            EnsureHostCreated();

            _host.GetCompilerParams(VirtualPath.Create(virtualPath), out codeDomProviderType, out compilerParameters);
        }