private static bool TryGetLanguageParam(string[] args, out ILanguage result, ref bool isInvalidLanguage)
        {
            string languageAsString;

            if (TryGetParam(args, "/lang", out languageAsString))
            {
                if (languageAsString == CommandLineManager.CSharpLanguage)
                {
                    result = CSharp.GetLanguage(CSharpVersion.V4);
                    return(true);
                }
                else if (languageAsString == CommandLineManager.VisualBasicLanguage)
                {
                    result = VisualBasic.GetLanguage(VisualBasicVersion.V4);
                    return(true);
                }
                else
                {
                    isInvalidLanguage = true;
                }
            }

            result = null;
            return(false);
        }