5 implementations of SetMetadataValueLiteral
Microsoft.Build (3)
Instance\ProjectItemInstance.cs (2)
501void ITaskItem2.SetMetadataValueLiteral(string metadataName, string metadataValue) 1369void ITaskItem2.SetMetadataValueLiteral(string metadataName, string metadataValue)
TaskParameter.cs (1)
976void ITaskItem2.SetMetadataValueLiteral(string metadataName, string metadataValue)
Microsoft.Build.Utilities.Core (1)
TaskItem.cs (1)
476void ITaskItem2.SetMetadataValueLiteral(string metadataName, string metadataValue) => SetMetadata(metadataName, EscapingUtilities.Escape(metadataValue));
MSBuild (1)
TaskParameter.cs (1)
976void ITaskItem2.SetMetadataValueLiteral(string metadataName, string metadataValue)
6 references to SetMetadataValueLiteral
Microsoft.Build (1)
Instance\ProjectItemInstance.cs (1)
505((ITaskItem2)_taskItem).SetMetadataValueLiteral(metadataName, metadataValue);
Microsoft.Build.Engine.OM.UnitTests (2)
Instance\ProjectInstance_Tests.cs (1)
770Helpers.VerifyAssertThrowsInvalidOperation(delegate () { ((ITaskItem2)Helpers.GetFirst(instance.Items)).SetMetadataValueLiteral("a", "b"); });
Instance\ProjectItemInstance_Tests.cs (1)
366taskItem2.SetMetadataValueLiteral("m;", "m;2");
Microsoft.Build.Tasks.Core (1)
AssignProjectConfiguration.cs (1)
222item2.SetMetadataValueLiteral("GlobalPropertiesToRemove", globalPropertiesToRemove + "Configuration;Platform");
Microsoft.DotNet.Helix.Sdk (1)
GetHelixWorkItems.cs (1)
72workItem.SetMetadataValueLiteral(entry.Key, entry.Value);
Microsoft.Extensions.ApiDescription.Client (1)
MetadataSerializer.cs (1)
35item2.SetMetadataValueLiteral(key, value);