9 references to ProjectMetadataInstance
Microsoft.Build (8)
Instance\ProjectItemInstance.cs (5)
1085
_directMetadata.ImportProperties(metadata.Select(kvp => new
ProjectMetadataInstance
(kvp.Key, kvp.Value, allowItemSpecModifiers: true)));
1794
return new
ProjectMetadataInstance
(interner.GetString(key), interner.GetString(value), allowItemSpecModifiers: true);
1861
ProjectMetadataInstance metadatum = new
ProjectMetadataInstance
(name, metadataValueEscaped, allowItemSpecModifiers /* may not be built-in metadata name */);
1883
ProjectMetadataInstance metadatum = new
ProjectMetadataInstance
(name, evaluatedValueEscaped, true /* may be built-in metadata name */);
1895
.Select(item => new
ProjectMetadataInstance
(item.Key, item.Value, true /* may be built-in metadata name */));
Instance\ProjectMetadataInstance.cs (3)
45
:
this
(name, escapedValue, false)
85
:
this
(metadatum.Name, metadatum.EvaluatedValueEscaped, false)
221
return new
ProjectMetadataInstance
(_name, _escapedValue, true /* allow built-in metadata names */);
Microsoft.Build.Engine.UnitTests (1)
Instance\ProjectMetadataInstance_Internal_Tests.cs (1)
41
ProjectMetadataInstance metadata = new
ProjectMetadataInstance
("m1", "v1", false);