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