8 references to AlwaysRetryEnvVar
Microsoft.Build.Tasks.Core (2)
Copy.cs (2)
89
private static bool s_alwaysRetryCopy = Environment.GetEnvironmentVariable(
AlwaysRetryEnvVar
) != null;
209
s_alwaysRetryCopy = Environment.GetEnvironmentVariable(
AlwaysRetryEnvVar
) != null;
Microsoft.Build.Tasks.UnitTests (6)
Copy_Tests.cs (6)
111
_alwaysRetry = Environment.GetEnvironmentVariable(Copy.
AlwaysRetryEnvVar
);
114
Environment.SetEnvironmentVariable(Copy.
AlwaysRetryEnvVar
, null);
125
Environment.SetEnvironmentVariable(Copy.
AlwaysRetryEnvVar
, _alwaysRetry);
827
string oldAlwaysRetryValue = Environment.GetEnvironmentVariable(Copy.
AlwaysRetryEnvVar
);
831
Environment.SetEnvironmentVariable(Copy.
AlwaysRetryEnvVar
, "1 ");
878
Environment.SetEnvironmentVariable(Copy.
AlwaysRetryEnvVar
, oldAlwaysRetryValue);