9 writes to Retries
Microsoft.Build.Tasks.UnitTests (9)
Copy_Tests.cs (9)
444
Retries
= -1,
859
Retries
= 5,
2303
Retries
= -1,
2324
Retries
= 1,
2349
Retries
= 0,
2416
Retries
= 1,
2443
Retries
= 1,
2475
Retries
= 2,
2504
Retries
= 1,
10 references to Retries
Microsoft.Build.Tasks.Core (8)
Copy.cs (8)
658
if (
Retries
< 0)
660
Log.LogErrorWithCodeFromResources("Copy.InvalidRetryCount",
Retries
);
967
if (retries <
Retries
)
980
else if (
Retries
> 0)
984
destinationFileState.Name,
Retries
, LockCheck.GetLockedFileMessage(destinationFileState.Name));
993
if (retries <
Retries
)
1005
else if (
Retries
> 0)
1008
destinationFileState.Name,
Retries
, LockCheck.GetLockedFileMessage(destinationFileState.Name));
Microsoft.Build.Tasks.UnitTests (2)
Copy_Tests.cs (2)
869
Assert.Equal(((t.
Retries
+ 1) * 3) - 1, ((MockEngine)t.BuildEngine).Warnings);
2373
Assert.Equal(10, t.
Retries
);