private void ParseFile(string inputFileName) { Console.WriteLine($"Parsing {inputFileName}"); string src = File.ReadAllText(inputFileName); compilation.AddFile(inputFileName, src); }
private void ParseFile(string fileName) { var relativeFileName = GetRelativeInputFile(fileName); if (IsIgnored(relativeFileName)) { Console.WriteLine($"Ignoring file {relativeFileName}"); return; } string src = File.ReadAllText(fileName); Console.WriteLine($"Parsing {relativeFileName}"); compilation.AddFile(fileName, src); }