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