43 references to Value
Microsoft.Build (5)
Evaluation\Expander.cs (5)
964if (itemVectorExpressions?.Count == 1 && itemVectorExpressions[0].Value == expression && itemVectorExpressions[0].Separator == null) 981string vectorExpression = itemVectorExpressions[n].Value; 994vectorExpression = RegularExpressions.NonTransformItemMetadataPattern.Value.Replace(itemVectorExpressions[n].Value, new MatchEvaluator(matchEvaluator.ExpandSingleMetadata), -1, itemVectorExpressions[n].SeparatorStart); 1879ProjectErrorUtilities.VerifyThrowInvalidProject(match.Value == expression, elementLocation, "EmbeddedItemVectorCannotBeItemized", expression); 2146string function = match.Captures[n].Value;
Microsoft.Build.Engine.UnitTests (38)
Evaluation\ExpressionShredder_Tests.cs (38)
581Assert.Equal("%(Meta0)", capture.Captures[0].Value); 582Assert.Equal("%(Filename)", capture.Captures[1].Value); 583Assert.Equal("Substring($(Val))", capture.Captures[2].Value); 610Assert.Equal(match.Value, capture.Value); 618Assert.Equal(transformGroup.Captures[i].Value, capture.Captures[i].Value); 694Assert.Equal("%(Fullpath)", capture.Captures[0].Value); 712Assert.Equal("%(Fullpath)", capture.Captures[0].Value); 730Assert.Equal("Bar(a,b)", capture.Captures[0].Value); 750Assert.Equal("Bar(a,b)", capture.Captures[0].Value); 769Assert.Equal("Metadata('Meta0')", capture.Captures[0].Value); 772Assert.Equal("Directory()", capture.Captures[1].Value); 791Assert.Equal("Metadata('Meta0')", capture.Captures[0].Value); 794Assert.Equal("Directory()", capture.Captures[1].Value); 813Assert.Equal("%(Fullpath)", capture.Captures[0].Value); 816Assert.Equal("Directory()", capture.Captures[1].Value); 835Assert.Equal("%(Fullpath)", capture.Captures[0].Value); 838Assert.Equal("Directory()", capture.Captures[1].Value); 857Assert.Equal("$(SOMEPROP)%(Fullpath)", capture.Captures[0].Value); 876Assert.Equal("%(Filename)", capture.Captures[0].Value); 879Assert.Equal("Substring($(Val), $(Boo))", capture.Captures[1].Value); 898Assert.Equal("%(Filename)", capture.Captures[0].Value); 901Assert.Equal("Substring(\"AA\", 'BB', `cc`)", capture.Captures[1].Value); 920Assert.Equal("%(Filename)", capture.Captures[0].Value); 923Assert.Equal("Substring('()', $(Boo), ')(')", capture.Captures[1].Value); 942Assert.Equal("%(Filename)", capture.Captures[0].Value); 945Assert.Equal("Substring(`()`, $(Boo), \"AA\")", capture.Captures[1].Value); 964Assert.Equal("%(Filename)", capture.Captures[0].Value); 967Assert.Equal("Substring(`()`, $(Boo), \")(\")", capture.Captures[1].Value); 986Assert.Equal("%(Filename)", capture.Captures[0].Value); 989Assert.Equal("Substring(\"()\", $(Boo), `)(`)", capture.Captures[1].Value); 1010Assert.Equal("%(Filename)", capture.Captures[0].Value); 1013Assert.Equal("Substring(\"()\", $(Boo), `)(`)", capture.Captures[1].Value); 1034Assert.Equal("%(Filename)", capture.Captures[0].Value); 1037Assert.Equal("Substring(\"()\", $(Boo), `)(`)", capture.Captures[1].Value); 1058Assert.Equal("%(Filename)", capture.Captures[0].Value); 1061Assert.Equal("Substring(\"()\", $(Boo), `)(`)", capture.Captures[1].Value); 1082Assert.Equal("%(Filename)", capture.Captures[0].Value); 1085Assert.Equal("Substring(\"()\", $(Boo), `)(\"`)", capture.Captures[1].Value);