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