5 writes to ItemsToSign
Microsoft.DotNet.SignTool.Tests (5)
SignToolTests.cs (5)
488
ItemsToSign
= Array.Empty<ITaskItem>(),
509
ItemsToSign
= Array.Empty<ITaskItem>(),
1803
ItemsToSign
= Array.Empty<ITaskItem>(),
2344
ItemsToSign
= itemsToSign,
2382
ItemsToSign
= itemsToSign ?? Array.Empty<ITaskItem>(),
6 references to ItemsToSign
Microsoft.DotNet.SignTool (6)
src\SignToolTask.cs (6)
195
if (!AllowEmptySignList &&
ItemsToSign
.Count() == 0)
254
var itemsToSign =
ItemsToSign
.Select(i => new ItemToSign(i.ItemSpec, i.GetMetadata(SignToolConstants.CollisionPriorityId))).OrderBy(i => i.CollisionPriorityId).ToList();
374
if (
ItemsToSign
.Length == 0)
379
foreach (var itemToSign in
ItemsToSign
)
383
Log.LogError($"Paths specified in {nameof(
ItemsToSign
)} must be absolute: '{itemToSign}'.");
399
Log.LogError($"All {nameof(
ItemsToSign
)} must be within the cone of a single directory.");