Пример #1
0
        public void Execute()
        {
            foreach (var name in files)
            {
                var file = Path.Combine(baseDir, name);
                if (!File.Exists(file))
                {
                    missing.Add(file);
                }
            }

            Walk(new DirectoryInfo(baseDir));

            if (missing.Any() || extra.Any())
            {
                var ex = new NetLintProjectScanException(projectFile, missing, extra);
                logger.Log(ex.Message);
                throw ex;
            }
        }
 internal void Add(NetLintProjectScanException additional)
 {
     InnerExceptions.Add(additional);
 }