8 writes to EnvironmentVariables
Microsoft.Build.Tasks.UnitTests (1)
Exec_Tests.cs (1)
889
exec.
EnvironmentVariables
= new[] { "myenvvar=myvalue" };
Microsoft.Build.Utilities.UnitTests (7)
ToolTask_Tests.cs (7)
547
task.
EnvironmentVariables
= new[] { "a=b", "c=d", userVarName + "=x" /* built-in */, "path=" /* blank value */};
577
task.
EnvironmentVariables
= new[] { "a=b=c" };
592
task.
EnvironmentVariables
= new[] { "x" };
607
task.
EnvironmentVariables
= new[] { "" };
622
task.
EnvironmentVariables
= new[] { "=a;b=c" };
637
task.
EnvironmentVariables
= null;
719
task.
EnvironmentVariables
= new[] { "a=b" };
5 references to EnvironmentVariables
Microsoft.Build.Tasks.CodeAnalysis (2)
ManagedCompiler.cs (2)
640
string[] additionalVariables =
EnvironmentVariables
;
643
foreach (string var in
EnvironmentVariables
)
Microsoft.Build.Utilities.Core (3)
ToolTask.cs (3)
1357
if (
EnvironmentVariables
!= null)
1359
_environmentVariablePairs = new List<KeyValuePair<string, string>>(
EnvironmentVariables
.Length);
1361
foreach (string entry in
EnvironmentVariables
)