/// <summary>
        /// Checks if the manifest file is valid.
        /// </summary>
        /// <param name="ast"></param>
        /// <param name="fileName"></param>
        /// <returns>A boolean value indicating the validity of the manifest file.</returns>
        private bool IsValidManifest(Ast ast, string fileName)
        {
            var missingManifestRule = new MissingModuleManifestField();

            return(!missingManifestRule.AnalyzeScript(ast, fileName).GetEnumerator().MoveNext());
        }
 /// <summary>
 /// Checks if the manifest file is valid. 
 /// </summary>
 /// <param name="ast"></param>
 /// <param name="fileName"></param>
 /// <returns>A boolean value indicating the validity of the manifest file.</returns>
 private bool IsValidManifest(Ast ast, string fileName)
 {
     var missingManifestRule = new MissingModuleManifestField();
     return !missingManifestRule.AnalyzeScript(ast, fileName).GetEnumerator().MoveNext();
 }