1 write to FunctionName
Microsoft.Build (1)
Evaluation\ExpressionShredder.cs (1)
597
capture.
FunctionName
= expression.Substring(startTransform, endFunctionName - startTransform);
34 references to FunctionName
Microsoft.Build (3)
Evaluation\Expander.cs (3)
2016
if (expressionCapture.Captures?.Any(capture => string.Equals(capture.
FunctionName
, "Count", StringComparison.OrdinalIgnoreCase)) != true)
2019
if (expressionCapture.Captures?.Any(capture => string.Equals(capture.
FunctionName
, "AnyHaveMetadataValue", StringComparison.OrdinalIgnoreCase)) != true)
2147
string functionName = match.Captures[n].
FunctionName
;
Microsoft.Build.Engine.UnitTests (31)
Evaluation\ExpressionShredder_Tests.cs (31)
731
Assert.Equal("Bar", capture.Captures[0].
FunctionName
);
751
Assert.Equal("Bar", capture.Captures[0].
FunctionName
);
770
Assert.Equal("Metadata", capture.Captures[0].
FunctionName
);
773
Assert.Equal("Directory", capture.Captures[1].
FunctionName
);
792
Assert.Equal("Metadata", capture.Captures[0].
FunctionName
);
795
Assert.Equal("Directory", capture.Captures[1].
FunctionName
);
814
Assert.Null(capture.Captures[0].
FunctionName
);
817
Assert.Equal("Directory", capture.Captures[1].
FunctionName
);
836
Assert.Null(capture.Captures[0].
FunctionName
);
839
Assert.Equal("Directory", capture.Captures[1].
FunctionName
);
858
Assert.Null(capture.Captures[0].
FunctionName
);
877
Assert.Null(capture.Captures[0].
FunctionName
);
880
Assert.Equal("Substring", capture.Captures[1].
FunctionName
);
899
Assert.Null(capture.Captures[0].
FunctionName
);
902
Assert.Equal("Substring", capture.Captures[1].
FunctionName
);
921
Assert.Null(capture.Captures[0].
FunctionName
);
924
Assert.Equal("Substring", capture.Captures[1].
FunctionName
);
943
Assert.Null(capture.Captures[0].
FunctionName
);
946
Assert.Equal("Substring", capture.Captures[1].
FunctionName
);
965
Assert.Null(capture.Captures[0].
FunctionName
);
968
Assert.Equal("Substring", capture.Captures[1].
FunctionName
);
987
Assert.Null(capture.Captures[0].
FunctionName
);
990
Assert.Equal("Substring", capture.Captures[1].
FunctionName
);
1011
Assert.Null(capture.Captures[0].
FunctionName
);
1014
Assert.Equal("Substring", capture.Captures[1].
FunctionName
);
1035
Assert.Null(capture.Captures[0].
FunctionName
);
1038
Assert.Equal("Substring", capture.Captures[1].
FunctionName
);
1059
Assert.Null(capture.Captures[0].
FunctionName
);
1062
Assert.Equal("Substring", capture.Captures[1].
FunctionName
);
1083
Assert.Null(capture.Captures[0].
FunctionName
);
1086
Assert.Equal("Substring", capture.Captures[1].
FunctionName
);