117 references to ExpressionShredder
Microsoft.Build (42)
BackEnd\Components\RequestBuilder\BatchingEngine.cs (1)
118ItemsAndMetadataPair pair = ExpressionShredder.GetReferencedItemNamesAndMetadata(batchableObjectParameters);
BackEnd\Components\RequestBuilder\IntrinsicTasks\ItemGroupIntrinsicTask.cs (2)
409var excludeSplits = ExpressionShredder.SplitSemiColonSeparatedList(evaluatedExclude); 419var includeSplits = ExpressionShredder.SplitSemiColonSeparatedList(evaluatedInclude);
BackEnd\Components\RequestBuilder\RequestBuilder.cs (1)
1440return new HashSet<string>(ExpressionShredder.SplitSemiColonSeparatedList(warnings), StringComparer.OrdinalIgnoreCase);
BackEnd\Components\RequestBuilder\TargetEntry.cs (1)
350if (ExpressionShredder.ContainsMetadataExpressionOutsideTransform(_target.Condition))
BackEnd\Shared\BuildRequestConfiguration.cs (1)
838var fragments = items.SelectMany(i => ExpressionShredder.SplitSemiColonSeparatedList(i.EvaluatedInclude));
Evaluation\Evaluator.cs (2)
376var includeSplitsEscaped = ExpressionShredder.SplitSemiColonSeparatedList(evaluatedIncludeEscaped); 2008foreach (string importExpressionEscapedItem in ExpressionShredder.SplitSemiColonSeparatedList(importExpressionEscaped))
Evaluation\Expander.cs (20)
464List<ExpressionShredder.ItemExpressionCapture> transforms = ExpressionShredder.GetReferencedItemExpressions(expression); 533return ExpressionShredder.SplitSemiColonSeparatedList(ExpandIntoStringLeaveEscaped(expression, options, elementLocation)); 578var splits = ExpressionShredder.SplitSemiColonSeparatedList(expression); 644internal static ExpressionShredder.ItemExpressionCapture ExpandSingleItemVectorExpressionIntoExpressionCapture( 651ExpressionShredder.ItemExpressionCapture expressionCapture, IItemProvider<S> items, IItemFactory<S, T> itemFactory, 661ExpressionShredder.ItemExpressionCapture expressionCapture, 959List<ExpressionShredder.ItemExpressionCapture> itemVectorExpressions = ExpressionShredder.GetReferencedItemExpressions(expression); 1850internal static ExpressionShredder.ItemExpressionCapture ExpandSingleItemVectorExpressionIntoExpressionCapture( 1858List<ExpressionShredder.ItemExpressionCapture> matches; 1865matches = ExpressionShredder.GetReferencedItemExpressions(expression); 1873ExpressionShredder.ItemExpressionCapture match = matches[0]; 1886ExpressionShredder.ItemExpressionCapture expressionCapture, Expander<P, I> expander, IItemProvider<S> items, IItemFactory<S, T> itemFactory, 1995ExpressionShredder.ItemExpressionCapture expressionCapture, 2089List<ExpressionShredder.ItemExpressionCapture> matches = ExpressionShredder.GetReferencedItemExpressions(expression); 2132private static Stack<TransformFunction<S>> PrepareTransformStackFromMatch<S>(IElementLocation elementLocation, ExpressionShredder.ItemExpressionCapture match) 2178ExpressionShredder.ItemExpressionCapture capture, 2634var splits = ExpressionShredder.SplitSemiColonSeparatedList(metadataValue);
Evaluation\ItemSpec.cs (3)
44public ExpressionShredder.ItemExpressionCapture Capture { get; } 69ExpressionShredder.ItemExpressionCapture capture, 208var splitsEscaped = ExpressionShredder.SplitSemiColonSeparatedList(evaluatedItemspecEscaped);
Evaluation\LazyItemEvaluator.cs (6)
565var excludeSplits = ExpressionShredder.SplitSemiColonSeparatedList(evaluatedExclude); 594var matchOnMetadataSplits = ExpressionShredder.SplitSemiColonSeparatedList(evaluatedmatchOnMetadata); 600var metadataSplits = ExpressionShredder.SplitSemiColonSeparatedList(metadataExpanded); 657var itemsAndMetadataFound = ExpressionShredder.GetReferencedItemNamesAndMetadata(GetExpandedMetadataValuesAndConditions(itemElement.Metadata, _expander)); 676ExpressionShredder.ItemExpressionCapture match = Expander<P, I>.ExpandSingleItemVectorExpressionIntoExpressionCapture( 688private void AddReferencedItemLists(OperationBuilder operationBuilder, ExpressionShredder.ItemExpressionCapture match)
Evaluation\LazyItemEvaluator.IncludeOperation.cs (1)
50var excludeSplits = ExpressionShredder.SplitSemiColonSeparatedList(excludeExpanded);
Evaluation\LazyItemEvaluator.LazyItemOperation.cs (1)
284itemsAndMetadataFound = ExpressionShredder.GetReferencedItemNamesAndMetadata(GetMetadataValuesAndConditions(metadata));
Graph\ProjectGraph.cs (1)
818: ExpressionShredder.SplitSemiColonSeparatedList(targetsString).ToList();
Graph\ProjectInterpretation.cs (2)
291foreach (var globalPropertyValue in ExpressionShredder.SplitSemiColonSeparatedList(globalPropertyValues)) 508TargetSpecification[] targets = ExpressionShredder.SplitSemiColonSeparatedList(targetsMetadataValue)
Microsoft.Build.Engine.UnitTests (75)
Evaluation\ExpressionShredder_Tests.cs (75)
440var actual = ExpressionShredder.SplitSemiColonSeparatedList(input); 456ItemsAndMetadataPair pair = ExpressionShredder.GetReferencedItemNamesAndMetadata(list); 574List<ExpressionShredder.ItemExpressionCapture> expressions = ExpressionShredder.GetReferencedItemExpressions(expression); 576ExpressionShredder.ItemExpressionCapture capture = expressions[0]; 594List<ExpressionShredder.ItemExpressionCapture> expressions; 598expressions = ExpressionShredder.GetReferencedItemExpressions(expression); 608ExpressionShredder.ItemExpressionCapture capture = expressions[n]; 638List<ExpressionShredder.ItemExpressionCapture> expressions; 641expressions = ExpressionShredder.GetReferencedItemExpressions(expression); 649List<ExpressionShredder.ItemExpressionCapture> expressions; 650ExpressionShredder.ItemExpressionCapture capture; 653expressions = ExpressionShredder.GetReferencedItemExpressions(expression); 666List<ExpressionShredder.ItemExpressionCapture> expressions; 667ExpressionShredder.ItemExpressionCapture capture; 670expressions = ExpressionShredder.GetReferencedItemExpressions(expression); 683List<ExpressionShredder.ItemExpressionCapture> expressions; 684ExpressionShredder.ItemExpressionCapture capture; 687expressions = ExpressionShredder.GetReferencedItemExpressions(expression); 701List<ExpressionShredder.ItemExpressionCapture> expressions; 702ExpressionShredder.ItemExpressionCapture capture; 705expressions = ExpressionShredder.GetReferencedItemExpressions(expression); 719List<ExpressionShredder.ItemExpressionCapture> expressions; 720ExpressionShredder.ItemExpressionCapture capture; 723expressions = ExpressionShredder.GetReferencedItemExpressions(expression); 739List<ExpressionShredder.ItemExpressionCapture> expressions; 740ExpressionShredder.ItemExpressionCapture capture; 743expressions = ExpressionShredder.GetReferencedItemExpressions(expression); 759List<ExpressionShredder.ItemExpressionCapture> expressions; 760ExpressionShredder.ItemExpressionCapture capture; 763expressions = ExpressionShredder.GetReferencedItemExpressions(expression); 781List<ExpressionShredder.ItemExpressionCapture> expressions; 782ExpressionShredder.ItemExpressionCapture capture; 785expressions = ExpressionShredder.GetReferencedItemExpressions(expression); 803List<ExpressionShredder.ItemExpressionCapture> expressions; 804ExpressionShredder.ItemExpressionCapture capture; 807expressions = ExpressionShredder.GetReferencedItemExpressions(expression); 825List<ExpressionShredder.ItemExpressionCapture> expressions; 826ExpressionShredder.ItemExpressionCapture capture; 829expressions = ExpressionShredder.GetReferencedItemExpressions(expression); 847List<ExpressionShredder.ItemExpressionCapture> expressions; 848ExpressionShredder.ItemExpressionCapture capture; 851expressions = ExpressionShredder.GetReferencedItemExpressions(expression); 866List<ExpressionShredder.ItemExpressionCapture> expressions; 867ExpressionShredder.ItemExpressionCapture capture; 870expressions = ExpressionShredder.GetReferencedItemExpressions(expression); 888List<ExpressionShredder.ItemExpressionCapture> expressions; 889ExpressionShredder.ItemExpressionCapture capture; 892expressions = ExpressionShredder.GetReferencedItemExpressions(expression); 910List<ExpressionShredder.ItemExpressionCapture> expressions; 911ExpressionShredder.ItemExpressionCapture capture; 914expressions = ExpressionShredder.GetReferencedItemExpressions(expression); 932List<ExpressionShredder.ItemExpressionCapture> expressions; 933ExpressionShredder.ItemExpressionCapture capture; 936expressions = ExpressionShredder.GetReferencedItemExpressions(expression); 954List<ExpressionShredder.ItemExpressionCapture> expressions; 955ExpressionShredder.ItemExpressionCapture capture; 958expressions = ExpressionShredder.GetReferencedItemExpressions(expression); 976List<ExpressionShredder.ItemExpressionCapture> expressions; 977ExpressionShredder.ItemExpressionCapture capture; 980expressions = ExpressionShredder.GetReferencedItemExpressions(expression); 998List<ExpressionShredder.ItemExpressionCapture> expressions; 999ExpressionShredder.ItemExpressionCapture capture; 1002expressions = ExpressionShredder.GetReferencedItemExpressions(expression); 1022List<ExpressionShredder.ItemExpressionCapture> expressions; 1023ExpressionShredder.ItemExpressionCapture capture; 1026expressions = ExpressionShredder.GetReferencedItemExpressions(expression); 1046List<ExpressionShredder.ItemExpressionCapture> expressions; 1047ExpressionShredder.ItemExpressionCapture capture; 1050expressions = ExpressionShredder.GetReferencedItemExpressions(expression); 1070List<ExpressionShredder.ItemExpressionCapture> expressions; 1071ExpressionShredder.ItemExpressionCapture capture; 1074expressions = ExpressionShredder.GetReferencedItemExpressions(expression); 1094List<ExpressionShredder.ItemExpressionCapture> expressions; 1097expressions = ExpressionShredder.GetReferencedItemExpressions(expression);