4 references to BatchFileEncoding
Microsoft.Build.Tasks.Core (1)
Exec.cs (1)
199
var encoding = EncodingUtilities.
BatchFileEncoding
(Command + WorkingDirectory, UseUtf8Encoding);
Microsoft.Build.Utilities.Core (1)
ToolTask.cs (1)
1438
encoding = EncodingUtilities.
BatchFileEncoding
(commandLineCommands + _temporaryBatchFile, UseUtf8Encoding);
Microsoft.Build.Utilities.UnitTests (2)
EncodingUtilities_Tests.cs (2)
62
var alwaysEncoding = EncodingUtilities.
BatchFileEncoding
(content, EncodingUtilities.UseUtf8Always);
63
EncodingUtilities.
BatchFileEncoding
(content, EncodingUtilities.UseUtf8True).ShouldBe(alwaysEncoding);