54 references to TaskItem
Crossgen2Tasks (7)
PrepareForReadyToRunCompilation.cs (7)
177TaskItem r2rCompilationEntry = new TaskItem(file); 194TaskItem r2rFileToPublish = new TaskItem(file); 209TaskItem pdbCompilationEntry = new TaskItem(file); 218TaskItem r2rSymbolsFileToPublish = new TaskItem(file); 239TaskItem r2rCompilationEntry = new TaskItem(MainAssembly); 267TaskItem r2rSymbolsFileToPublish = new TaskItem(MainAssembly); 283TaskItem compositeR2RFileToPublish = new TaskItem(MainAssembly);
Microsoft.Build.Engine.OM.UnitTests (2)
Instance\ProjectItemInstance_Tests.cs (2)
364ITaskItem2 taskItem2 = new Microsoft.Build.Utilities.TaskItem(taskItem); 520Microsoft.Build.Utilities.TaskItem taskItem = new Microsoft.Build.Utilities.TaskItem(item);
Microsoft.Build.Engine.UnitTests (1)
BackEnd\ItemCreationTask.cs (1)
61CopiedOutputItems[i] = new TaskItem(InputItemsToCopy[i]);
Microsoft.Build.Tasks.Core (16)
AssignCulture.cs (3)
141AssignedFiles[i] = new TaskItem(Files[i]); 151CultureNeutralAssignedFiles[i] = new TaskItem(AssignedFiles[i]); 189new TaskItem(AssignedFiles[i]) { ItemSpec = info.cultureNeutralFilename };
AssignLinkMetadata.cs (1)
57ITaskItem outputItem = new TaskItem(item);
AssignTargetPath.cs (1)
76AssignedFiles[i] = new TaskItem(Files[i]);
CombinePath.cs (1)
66var combinedPath = new TaskItem(path);
ComReferenceInfo.cs (1)
103this.taskItem = new TaskItem(copyFrom.taskItem);
CreateItem.cs (1)
185TaskItem newItem = new TaskItem(i) { ItemSpec = file };
CreateManifestResourceName.cs (2)
225ManifestResourceNames[i] = new TaskItem(resourceFile) { ItemSpec = manifestName }; 228ResourceFilesWithManifestResourceNames[i] = new TaskItem(resourceFile);
Delete.cs (1)
142ITaskItem deletedFile = new TaskItem(file);
GenerateResource.cs (1)
1030clonedOutput[i] = new TaskItem(remoteValues[i]);
GetCompatiblePlatform.cs (1)
57AssignedProjectsWithPlatform[i] = new TaskItem(AnnotatedProjects[i]);
RemoveDir.cs (2)
97removedDirectoriesList.Add(new TaskItem(directory)); 105removedDirectoriesList.Add(new TaskItem(directory));
SetRidAgnosticValueForProjects.cs (1)
30var updatedItem = new TaskItem(p);
Microsoft.Build.Tasks.UnitTests (15)
AssignLinkMetadata_Tests.cs (6)
52Items = new ITaskItem[] { new TaskItem(item) } 71Items = new ITaskItem[] { new TaskItem(item) } 98Items = new ITaskItem[] { new TaskItem(item1), new TaskItem(item2) } 122Items = new ITaskItem[] { new TaskItem(item) } 144Items = new ITaskItem[] { new TaskItem(item) }
ResourceHandling\GenerateResource_Tests.cs (9)
354t2.StateFile = new TaskItem(t.StateFile); 382t2.StateFile = new TaskItem(t.StateFile); 418t2.StateFile = new TaskItem(t.StateFile); 639t2.StateFile = new TaskItem(t.StateFile); 757t2.StateFile = new TaskItem(t.StateFile); 814t2.StateFile = new TaskItem(t.StateFile); 980t2.StateFile = new TaskItem(t.StateFile); 990t3.StateFile = new TaskItem(t.StateFile); 1262t2.StateFile = new TaskItem(t.StateFile);
Microsoft.Build.Utilities.Core (1)
TrackedDependencies\TrackedDependencies.cs (1)
57expanded.Add(new TaskItem(item) { ItemSpec = file });
Microsoft.Build.Utilities.UnitTests (2)
TaskItem_Tests.cs (2)
33TaskItem to = new TaskItem((ITaskItem)from); 80TaskItem taskItem = new TaskItem(item);
Microsoft.DotNet.Build.Tasks.Packaging (6)
ApplyPreReleaseSuffix.cs (1)
93TaskItem updatedPackage = new TaskItem(originalPackage);
CreateTrimDependencyGroups.cs (1)
139var item = new TaskItem(dependency.Item);
GetApplicableAssetsFromPackages.cs (1)
200return SetPackageMetadata(new TaskItem(packageItem.OriginalItem), packageItem);
GetLastStablePackage.cs (1)
164var item = new TaskItem(originalItem);
PromoteDependencies.cs (1)
97var copiedDepenedency = new TaskItem(dependency.OriginalItem);
SplitDependenciesBySupport.cs (1)
97var newItem = new TaskItem(OriginalItem);
Microsoft.DotNet.Build.Tasks.TargetFramework (1)
ChooseBestP2PTargetFrameworkTask.cs (1)
82TaskItem itemWithProperties = new(project);
Microsoft.DotNet.XliffTasks (2)
Tasks\GatherTranslatedSource.cs (1)
30TaskItem output = new(xlf) { ItemSpec = translatedFullPath };
Tasks\GatherXlf.cs (1)
39TaskItem xlf = new(source) { ItemSpec = xlfPath };
Microsoft.Extensions.ApiDescription.Client (1)
GetOpenApiReferenceMetadata.cs (1)
70var newItem = new TaskItem(item);