9 writes to File
Microsoft.Build.Tasks.UnitTests (9)
ReadLinesFromFile_Tests.cs (5)
42File = new TaskItem(file) 89File = new TaskItem(file) 134File = new TaskItem(file) 158File = new TaskItem(file) 194File = new TaskItem(file)
WriteLinesToFile_Tests.cs (4)
66File = new TaskItem(file) 87File = new TaskItem(file) 118var r = new ReadLinesFromFile { File = new TaskItem(file) }; 201var r = new ReadLinesFromFile { File = new TaskItem(file) };
4 references to File
Microsoft.Build.Tasks.Core (4)
FileIO\ReadLinesFromFile.cs (4)
39if (File != null) 41if (FileSystems.Default.FileExists(File.ItemSpec)) 45string[] textLines = System.IO.File.ReadAllLines(File.ItemSpec); 69Log.LogErrorWithCodeFromResources("ReadLinesFromFile.ErrorOrWarning", File.ItemSpec, e.Message);