5 writes to ItemsToSign
Microsoft.DotNet.SignTool.Tests (5)
SignToolTests.cs (5)
539ItemsToSign = Array.Empty<ITaskItem>(), 559ItemsToSign = Array.Empty<ITaskItem>(), 2042ItemsToSign = Array.Empty<ITaskItem>(), 2580ItemsToSign = itemsToSign, 2617ItemsToSign = itemsToSign ?? Array.Empty<ITaskItem>(),
6 references to ItemsToSign
Microsoft.DotNet.SignTool (6)
src\SignToolTask.cs (6)
198if (!AllowEmptySignList && ItemsToSign.Count() == 0) 250var itemsToSign = ItemsToSign.Select(i => new ItemToSign(i.ItemSpec, i.GetMetadata(SignToolConstants.CollisionPriorityId))).OrderBy(i => i.CollisionPriorityId).ToList(); 369if (ItemsToSign.Length == 0) 374foreach (var itemToSign in ItemsToSign) 378Log.LogError($"Paths specified in {nameof(ItemsToSign)} must be absolute: '{itemToSign}'."); 394Log.LogError($"All {nameof(ItemsToSign)} must be within the cone of a single directory.");