12 references to OpenWrite
Microsoft.Build (9)
BackEnd\Components\BuildRequestEngine\BuildRequestEngine.cs (1)
1429
using (StreamWriter file = FileUtilities.
OpenWrite
(String.Format(CultureInfo.CurrentCulture, Path.Combine(_debugDumpPath, @"EngineTrace_{0}.txt"), Process.GetCurrentProcess().Id), append: true))
BackEnd\Components\Scheduler\Scheduler.cs (4)
2572
using StreamWriter file = FileUtilities.
OpenWrite
(String.Format(CultureInfo.CurrentCulture, Path.Combine(_debugDumpPath, "SchedulerTrace_{0}.txt"), Process.GetCurrentProcess().Id), append: true);
2596
using StreamWriter file = FileUtilities.
OpenWrite
(String.Format(CultureInfo.CurrentCulture, Path.Combine(_debugDumpPath, "SchedulerState_{0}.txt"), Process.GetCurrentProcess().Id), append: true);
2710
using StreamWriter file = FileUtilities.
OpenWrite
(String.Format(CultureInfo.CurrentCulture, Path.Combine(_debugDumpPath, "SchedulerState_{0}.txt"), Process.GetCurrentProcess().Id), append: true);
2750
using StreamWriter file = FileUtilities.
OpenWrite
(String.Format(CultureInfo.CurrentCulture, Path.Combine(_debugDumpPath, "SchedulerState_{0}.txt"), Process.GetCurrentProcess().Id), append: true);
CommunicationsUtilities.cs (1)
838
using (StreamWriter file = FileUtilities.
OpenWrite
(
ExceptionHandling.cs (2)
359
using (StreamWriter writer = FileUtilities.
OpenWrite
(s_dumpFileName, append: true))
366
using (StreamWriter writer = FileUtilities.
OpenWrite
(s_dumpFileName, append: true))
Logging\FileLogger.cs (1)
118
_fileWriter = FileUtilities.
OpenWrite
(_logFileName, _append, _encoding);
Microsoft.Build.Engine.UnitTests (3)
Definition\ItemDefinitionGroup_Tests.cs (2)
1767
using (StreamWriter writer = FileUtilities.
OpenWrite
(otherProject, false))
1826
using (StreamWriter writer = FileUtilities.
OpenWrite
(otherProject, false))
FileLogger_Tests.cs (1)
434
using (StreamWriter sw = FileUtilities.
OpenWrite
(log, false))