13 implementations of CloneCustomMetadata
Microsoft.Build (3)
Instance\ProjectItemInstance.cs (2)
522IDictionary ITaskItem.CloneCustomMetadata() 1494public IDictionary CloneCustomMetadata()
TaskParameter.cs (1)
922public IDictionary CloneCustomMetadata()
Microsoft.Build.Engine.UnitTests (4)
BackEnd\TaskRegistry_Tests.cs (1)
2321public IDictionary CloneCustomMetadata()
BackEnd\TaskThatReturnsDictionaryTaskItem.cs (1)
52public IDictionary CloneCustomMetadata() => _metaData;
MockTask.cs (1)
463public IDictionary CloneCustomMetadata()
TaskThatReturnsMinimalItem.cs (1)
36public IDictionary CloneCustomMetadata()
Microsoft.Build.Framework (1)
TaskItemData.cs (1)
59public IDictionary CloneCustomMetadata()
Microsoft.Build.Tasks.CodeAnalysis.UnitTests (1)
TestUtilities\SimpleTaskItem.cs (1)
28public IDictionary CloneCustomMetadata() => throw new NotImplementedException();
Microsoft.Build.Tasks.UnitTests (1)
GenerateBindingRedirects_Tests.cs (1)
414IDictionary ITaskItem.CloneCustomMetadata()
Microsoft.Build.Utilities.Core (1)
TaskItem.cs (1)
381public IDictionary CloneCustomMetadata()
MSBuild (1)
TaskParameter.cs (1)
922public IDictionary CloneCustomMetadata()
MSBuildTaskHost (1)
TaskParameter.cs (1)
922public IDictionary CloneCustomMetadata()
41 references to CloneCustomMetadata
Microsoft.Build (6)
BackEnd\Components\RequestBuilder\IntrinsicTasks\ItemGroupLoggingHelper.cs (2)
76if (firstItem.CloneCustomMetadata().Count > 0) 197var customMetadata = item.CloneCustomMetadata();
BackEnd\TaskExecutionHost\TaskExecutionHost.cs (1)
1415newItem.SetMetadataOnTaskOutput(EnumerateMetadata(output.CloneCustomMetadata()));
Logging\ParallelLogger\ParallelConsoleLogger.cs (1)
896IDictionary metadata = item.CloneCustomMetadata();
TaskParameter.cs (2)
321IDictionary customMetadata = copyFrom.CloneCustomMetadata(); 423wrappedMetadata = wrappedItem.CloneCustomMetadata();
Microsoft.Build.Engine.OM.UnitTests (1)
Instance\ProjectItemInstance_Tests.cs (1)
371IDictionary<string, string> taskItem2Metadata = (IDictionary<string, string>)taskItem2.CloneCustomMetadata();
Microsoft.Build.Engine.UnitTests (5)
BackEnd\TaskHostConfiguration_Tests.cs (2)
773IDictionary metadataFromX = x.CloneCustomMetadata(); 774IDictionary metadataFromY = y.CloneCustomMetadata();
BuildEventArgsSerialization_Tests.cs (1)
1203return i.ItemSpec + string.Join(";", i.CloneCustomMetadata().Keys.OfType<string>().Select(k => i.GetMetadata(k)));
TestComparers\TaskItemComparer.cs (2)
46if (x.CloneCustomMetadata().Count != y.CloneCustomMetadata().Count)
Microsoft.Build.Framework (1)
ITaskItemExtensions.cs (1)
32IDictionary customMetadata = taskItem.CloneCustomMetadata();
Microsoft.Build.Tasks.Core (1)
WriteCodeFragment.cs (1)
190IDictionary customMetadata = attributeItem.CloneCustomMetadata();
Microsoft.DotNet.Build.Tasks.Feed (4)
src\SigningInformationModelFactory.cs (4)
67var attributes = signInfo.CloneCustomMetadata() as IDictionary<string, string>; 75var attributes = signInfo.CloneCustomMetadata() as IDictionary<string, string>; 95var attributes = signInfo.CloneCustomMetadata() as IDictionary<string, string>; 103var attributes = signInfo.CloneCustomMetadata() as IDictionary<string, string>;
Microsoft.DotNet.Helix.Sdk (1)
GetHelixWorkItems.cs (1)
57var metadata = job.CloneCustomMetadata() as IDictionary<string, string>;
Microsoft.Extensions.ApiDescription.Client (1)
MetadataSerializer.cs (1)
74var metadata = item.CloneCustomMetadata();
Microsoft.Extensions.ApiDescription.Client.Tests (17)
GetCurrentOpenApiReferenceTest.cs (1)
45var metadata = Assert.IsAssignableFrom<IDictionary<string, string>>(output.CloneCustomMetadata());
GetOpenApiReferenceMetadataTest.cs (9)
54var metadata = Assert.IsAssignableFrom<IDictionary<string, string>>(output.CloneCustomMetadata()); 112var metadata = Assert.IsAssignableFrom<IDictionary<string, string>>(output.CloneCustomMetadata()); 170var metadata = Assert.IsAssignableFrom<IDictionary<string, string>>(output.CloneCustomMetadata()); 228var metadata = Assert.IsAssignableFrom<IDictionary<string, string>>(output.CloneCustomMetadata()); 378var metadata = Assert.IsAssignableFrom<IDictionary<string, string>>(output.CloneCustomMetadata()); 441var metadata = Assert.IsAssignableFrom<IDictionary<string, string>>(output.CloneCustomMetadata()); 541var metadata = Assert.IsAssignableFrom<IDictionary<string, string>>(output.CloneCustomMetadata()); 553var metadata = Assert.IsAssignableFrom<IDictionary<string, string>>(output.CloneCustomMetadata()); 565var metadata = Assert.IsAssignableFrom<IDictionary<string, string>>(output.CloneCustomMetadata());
MetadataSerializerTest.cs (7)
127var metadata = Assert.IsAssignableFrom<IDictionary<string, string>>(item.CloneCustomMetadata()); 251input.Setup(i => i.CloneCustomMetadata()).Returns(metadata).Verifiable(); 264input.Verify(i => i.CloneCustomMetadata(), Times.Once); 278input.Setup(i => i.CloneCustomMetadata()).Returns(metadata).Verifiable(); 288input.Verify(i => i.CloneCustomMetadata(), Times.Once); 301input.Setup(i => i.CloneCustomMetadata()).Returns(metadata).Verifiable(); 311input.Verify(i => i.CloneCustomMetadata(), Times.Once);
MSBuild (2)
TaskParameter.cs (2)
321IDictionary customMetadata = copyFrom.CloneCustomMetadata(); 423wrappedMetadata = wrappedItem.CloneCustomMetadata();
MSBuildTaskHost (2)
TaskParameter.cs (2)
321IDictionary customMetadata = copyFrom.CloneCustomMetadata(); 423wrappedMetadata = wrappedItem.CloneCustomMetadata();