/// <summary>
        /// returns the list of the system assembly references for the given version of the framework
        /// </summary>
        /// <param name="targetVersion"></param>
        /// <param name="pAssemblies"></param>
        /// <returns></returns>
        int IVsTargetFrameworkAssemblies.GetSystemAssemblies(uint targetVersion, out IEnumSystemAssemblies pAssemblies)
        {
            pAssemblies = null;

            foreach (TargetFramework framework in m_frameworks)
            {
                if (framework.m_version == targetVersion)
                {
                    pAssemblies = new EnumSystemAssemblies(framework);
                    return(Microsoft.VisualStudio.VSConstants.S_OK);
                }
            }
            return(Microsoft.VisualStudio.VSConstants.E_INVALIDARG);
        }
 public int Clone(out IEnumSystemAssemblies ppIEnumComponents)
 {
     ppIEnumComponents = new EnumSystemAssemblies(m_framework);
     return VSConstants.S_OK;
 }
        /// <summary>
        /// returns the list of the system assembly references for the given version of the framework
        /// </summary>
        /// <param name="targetVersion"></param>
        /// <param name="pAssemblies"></param>
        /// <returns></returns>
        int IVsTargetFrameworkAssemblies.GetSystemAssemblies(uint targetVersion, out IEnumSystemAssemblies pAssemblies)
        {
            pAssemblies = null;

            foreach (TargetFramework framework in m_frameworks)
            {
                if (framework.m_version == targetVersion)
                {
                    pAssemblies = new EnumSystemAssemblies(framework);
                    return Microsoft.VisualStudio.VSConstants.S_OK;
                }
            }
            return Microsoft.VisualStudio.VSConstants.E_INVALIDARG;
        }
 public int Clone(out IEnumSystemAssemblies ppIEnumComponents)
 {
     ppIEnumComponents = new EnumSystemAssemblies(m_framework);
     return(VSConstants.S_OK);
 }