Exemple #1
0
        private void crawl(Project project)
        {
            var reader = new ProjectReader(project.File);
            // Get base assemblies first to better be equiped to locate variable types
            reader
                .ReadReferences()
                .ForEach(x =>
                {
                    if (!_handledReferences.Any(y => y.Equals(x)))
                    {
                        parseAssembly(x);
                        _handledReferences.Add(x);
                    }
                });

            _builder.WriteProject(project);
            reader
                .ReadFiles()
                .ForEach(x => {
                    parseFile(new FileRef(x, project));
                });
        }