21 writes to Value
Microsoft.Build (4)
Construction\ProjectItemDefinitionElement.cs (1)
84metadata.Value = unevaluatedValue;
Construction\ProjectItemElement.cs (1)
401metadata.Value = unevaluatedValue;
Construction\ProjectRootElement.cs (1)
1347metadatum.Value = unevaluatedValue;
Definition\ProjectMetadata.cs (1)
143_xml.Value = value;
Microsoft.Build.Engine.OM.UnitTests (17)
Construction\ConstructionEditing_Tests.cs (8)
1150firstMetadata.Value = "metadata1"; 1151secondMetadata.Value = "metadata2"; 2549element.Value = "v1"; 2560element.Value = "v1"; 2843element.Value = "m2"; 2896element.Value = "v1"; 2907element.Value = "v1"; 3102element.Value = "m2";
Construction\ProjectMetadataElement_Tests.cs (7)
210metadatum.Value = "m1b"; 350metadatum.Value = String.Empty; 364metadatum.Value = null; 577metadata.Value = "v2"; 620metadata.Value = "v2"; 694metadata.Value = @"<&>"""; 737metadata.Value = @"<&>""";
ObjectModelRemoting\LinkedConstructionModify_Tests.cs (1)
354metadata.VerifySetter("NewValue", (md) => md.Value, (md, v) => md.Value = v);
ObjectModelRemoting\RemoteProjectsProviderMock\ConstructionLinkMocks\MockProjectMetadataElementLink.cs (1)
28public string Value { get => MetadataXml.Value; set => MetadataXml.Value = value; }
57 references to Value
Microsoft.Build (13)
Construction\ProjectMetadataElement.cs (1)
92ErrorUtilities.VerifyThrowArgumentNull(value, nameof(Value));
Definition\ProjectMetadata.cs (2)
128return _xml.Value; 138if (String.Equals(_xml.Value, value, StringComparison.Ordinal))
Evaluation\Evaluator.cs (2)
508metadataElement.Value, 1360string evaluatedValue = _expander.ExpandIntoStringLeaveEscaped(metadataElement.Value, ExpanderOptions.ExpandPropertiesAndCustomMetadata, itemDefinitionElement.Location);
Evaluation\LazyItemEvaluator.cs (1)
643metadatumElement.Value,
Evaluation\LazyItemEvaluator.LazyItemOperation.cs (3)
213string evaluatedValue = _expander.ExpandIntoStringLeaveEscaped(metadataElement.Value, metadataExpansionOptions, metadataElement.Location); 251string evaluatedValue = _expander.ExpandIntoStringLeaveEscaped(metadataElement.Value, metadataExpansionOptions, metadataElement.Location); 277yield return metadataElement.Value;
Evaluation\ProjectParser.cs (2)
408bool containsItemVector = Expander.ExpressionContainsItemVector(metadatum.Value); 409ProjectErrorUtilities.VerifyThrowInvalidProject(!containsItemVector, element.Location, "MetadataDefinitionCannotContainItemVectorExpression", metadatum.Value, metadatum.Name);
ObjectModelRemoting\ConstructionObjectLinks\ProjectMetadataElementLink.cs (1)
17/// Access to remote <see cref="ProjectMetadataElement.Value"/>.
ObjectModelRemoting\ConstructionObjectLinks\ProjectPropertyElementLink.cs (1)
17/// Access to remote <see cref="ProjectMetadataElement.Value"/>.
Microsoft.Build.Engine.OM.UnitTests (44)
Construction\ProjectItemDefinitionElement_Tests.cs (4)
66Assert.Equal("v1", Helpers.GetFirst(definition.Metadata).Value); 116Assert.Equal("v1", metadata[0].Value); 118Assert.Equal("v2", metadata[1].Value); 121Assert.Equal("v3", metadata[2].Value);
Construction\ProjectItemElement_Tests.cs (5)
369Assert.Equal("v1", metadata1[0].Value); 377Assert.Equal("v2", metadata2[0].Value); 418Assert.Equal("v1", metadata[0].Value); 420Assert.Equal("v2", metadata[1].Value); 423Assert.Equal("v3", metadata[2].Value);
Construction\ProjectMetadataElement_Tests.cs (21)
39Assert.Equal("m1", metadatum.Value); 211Assert.Equal("m1b", metadatum.Value); 351Assert.Equal(String.Empty, metadatum.Value); 438Assert.Equal("v1", metadata.Value); 463Assert.Equal("v1", metadata.Value); 497Assert.Equal(@"<&>""", metadata.Value); 522Assert.Equal(@"<&>""", metadata.Value); 574Assert.Equal("v1", metadata.Value); 617Assert.Equal("v1", metadata.Value); 691Assert.Equal("v1", metadata.Value); 734Assert.Equal("v1", metadata.Value); 820Assert.Equal("v1", metadata.Value); 883Assert.Equal("v1", metadata.Value); 952Assert.Equal("v1", metadata.Value); 995Assert.Equal("v1", metadata.Value); 1068Assert.Equal("v1", metadata.Value); 1108Assert.Equal("v1", metadata.Value); 1179Assert.Equal("v1", metadata.Value); 1186Assert.Equal("v2", metadata.Value); 1226Assert.Equal("v1", metadata.Value); 1233Assert.Equal("v2", metadata.Value);
Definition\DefinitionEditing_Tests.cs (2)
2016Assert.Equal("%(l)", item.GetMetadata("m").Xml.Value); 2035Assert.Equal("%(l)", item.GetMetadata("m").Xml.Value);
Definition\ProjectItem_Tests.cs (5)
2162Assert.Equal("$(P);@(Foo)", metadata.Xml.Value); 2195Assert.Equal("V", metadataElement.Value); 2251Assert.Equal("V1", me1.Value); 2255Assert.Equal("V2", me2.Value); 2307Assert.Equal("V2", me1.Value);
ObjectModelRemoting\Helpers\ViewValidation.construction.cs (2)
629Assert.Equal(realXml.Value, viewXml.Value);
ObjectModelRemoting\LinkedConstructionModify_Tests.cs (4)
85ViewValidation.VerifyMetadata(itemMetadata, (k) => itemWithMetadata1.View.Metadata.Where((md) => md.Name == k).FirstOrDefault().Value); 354metadata.VerifySetter("NewValue", (md) => md.Value, (md, v) => md.Value = v); 707ViewValidation.VerifyMetadata(itemMetadata, (k) => itemWithMetadata1.View.Metadata.Where((md) => md.Name == k).FirstOrDefault().Value); 708ViewValidation.VerifyMetadata(itemMetadata, (k) => itemWithMetadata2.View.Metadata.Where((md) => md.Name == k).FirstOrDefault().Value);
ObjectModelRemoting\RemoteProjectsProviderMock\ConstructionLinkMocks\MockProjectMetadataElementLink.cs (1)
28public string Value { get => MetadataXml.Value; set => MetadataXml.Value = value; }