public static bool HasLanguageVersion(this PropertyGroupXElement propertyGroupXElement, out Version languageVersion)
        {
            var hasLanguageVersion = propertyGroupXElement.HasChild(ProjectFileXmlElementName.LanguageVersion, out var childXElement);

            if (hasLanguageVersion)
            {
                var languageVersionString = childXElement.Value;

                languageVersion = ProjectFileValues.ParseVersion(languageVersionString);
            }
            else
            {
                languageVersion = VersionHelper.None;
            }

            return(hasLanguageVersion);
        }
        private Task LanguageVersionElementHandler(XElement xLanguageVersion, ProjectFile projectFile, IMessageSink messageSink)
        {
            projectFile.LanguageVersion = ProjectFileValues.ParseVersion(xLanguageVersion.Value);

            return(Task.CompletedTask);
        }