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