22 references to ConflictItemType
Microsoft.NET.Build.Extensions.Tasks (22)
ConflictItem.cs (5)
27ConflictItemType ItemType { get; } 40public ConflictItem(ITaskItem originalItem, ConflictItemType itemType) 49ItemType = ConflictItemType.Platform; 91public ConflictItemType ItemType { get; } 100_exists = ItemType == ConflictItemType.Platform || File.Exists(SourcePath);
ConflictResolver.cs (4)
311var isPlatform1 = item1.ItemType == ConflictItemType.Platform; 312var isPlatform2 = item2.ItemType == ConflictItemType.Platform; 326if (item1.ItemType == ConflictItemType.CopyLocal && item2.ItemType == ConflictItemType.CopyLocal)
ResolvePackageFileConflicts.cs (10)
77var referenceItems = GetConflictTaskItems(References, ConflictItemType.Reference).ToArray(); 97var analyzerItems = GetConflictTaskItems(Analyzers, ConflictItemType.Analyzer).ToArray(); 113copyLocalItems = GetConflictTaskItems(ReferenceCopyLocalPaths, ConflictItemType.CopyLocal).ToArray(); 119otherRuntimeItems = GetConflictTaskItems(OtherRuntimeItems, ConflictItemType.Runtime).ToArray(); 221item.SetMetadata(nameof(ConflictItemType), conflict.ItemType.ToString()); 228private IEnumerable<ConflictItem> GetConflictTaskItems(ITaskItem[]? items, ConflictItemType itemType) 235if (loser.ItemType == ConflictItemType.Reference) 239if (winner.ItemType == ConflictItemType.Platform) 255if (loser.ItemType == ConflictItemType.Reference) 259else if (loser.ItemType == ConflictItemType.CopyLocal)
ResolvePublishOutputConflicts.cs (3)
32var conflictItemGroup1 = GetConflictTaskItems(ItemGroup1, ConflictItemType.CopyLocal); 33var conflictItemGroup2 = GetConflictTaskItems(ItemGroup2, ConflictItemType.CopyLocal); 48private IEnumerable<ConflictItem> GetConflictTaskItems(ITaskItem[]? items, ConflictItemType itemType)