12 references to OpenWrite
Microsoft.Build (9)
BackEnd\Components\BuildRequestEngine\BuildRequestEngine.cs (1)
1429using (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)
2572using StreamWriter file = FileUtilities.OpenWrite(String.Format(CultureInfo.CurrentCulture, Path.Combine(_debugDumpPath, "SchedulerTrace_{0}.txt"), Process.GetCurrentProcess().Id), append: true); 2596using StreamWriter file = FileUtilities.OpenWrite(String.Format(CultureInfo.CurrentCulture, Path.Combine(_debugDumpPath, "SchedulerState_{0}.txt"), Process.GetCurrentProcess().Id), append: true); 2710using StreamWriter file = FileUtilities.OpenWrite(String.Format(CultureInfo.CurrentCulture, Path.Combine(_debugDumpPath, "SchedulerState_{0}.txt"), Process.GetCurrentProcess().Id), append: true); 2750using StreamWriter file = FileUtilities.OpenWrite(String.Format(CultureInfo.CurrentCulture, Path.Combine(_debugDumpPath, "SchedulerState_{0}.txt"), Process.GetCurrentProcess().Id), append: true);
CommunicationsUtilities.cs (1)
838using (StreamWriter file = FileUtilities.OpenWrite(
ExceptionHandling.cs (2)
359using (StreamWriter writer = FileUtilities.OpenWrite(s_dumpFileName, append: true)) 366using (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)
1767using (StreamWriter writer = FileUtilities.OpenWrite(otherProject, false)) 1826using (StreamWriter writer = FileUtilities.OpenWrite(otherProject, false))
FileLogger_Tests.cs (1)
434using (StreamWriter sw = FileUtilities.OpenWrite(log, false))