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