22 instantiations of TransformEntry
Microsoft.Build (22)
Evaluation\Expander.ItemExpander.cs (5)
268
entries.Add(new
TransformEntry
(resultantItem, item));
273
entries.Add(new
TransformEntry
(item.EvaluatedIncludeEscaped, item));
508
entries = new(capacity: 1) {
new
(result, null) };
522
entries.Add(new
TransformEntry
(evaluatedIncludeEscaped, item));
548
entries.Add(new
TransformEntry
(joinedItems, null));
Evaluation\Expander.ItemExpander.Transforms.cs (17)
88
=> output.Add(new
TransformEntry
(input.Count.ToString(CultureInfo.InvariantCulture), item: null));
138
output.Add(new
TransformEntry
(result, item.Item));
142
output.Add(new
TransformEntry
(null, item.Item));
226
output.Add(new
TransformEntry
(escapedPath, null));
308
output.Add(new
TransformEntry
(escapedDirectoryPath, null));
379
output.Add(new
TransformEntry
(directoryName, item.Item));
383
output.Add(new
TransformEntry
(null, item.Item));
430
output.Add(new
TransformEntry
(itemSpec, item.Item));
436
output.Add(new
TransformEntry
(metadataValue, item.Item));
441
output.Add(new
TransformEntry
(metadataValue, item.Item));
675
output.Add(new
TransformEntry
(include, item));
679
output.Add(new
TransformEntry
(value: null, item));
836
output.Add(new
TransformEntry
(include, item.Item));
840
output.Add(new
TransformEntry
(null, item.Item));
862
output.Add(new
TransformEntry
(item.Value, null));
1020
output.Add(new
TransformEntry
("true", item.Item));
1031
output.Add(new
TransformEntry
("false", null));
82 references to TransformEntry
Microsoft.Build (82)
Evaluation\Expander.cs (1)
424
out List<
TransformEntry
> entries)
Evaluation\Expander.ItemExpander.cs (17)
102
/// <see cref="Transforms.ExpandQuotedExpressionFunction(List{
TransformEntry
}, List{
TransformEntry
}, string, bool, IElementLocation)"/>.
116
out List<
TransformEntry
> result)
120
List<
TransformEntry
> input = CreateEntries(itemsOfType);
121
List<
TransformEntry
> output = new(itemsOfType.Count);
237
foreach (
TransformEntry
entry in output)
254
private static List<
TransformEntry
> CreateEntries(ICollection<I> items)
256
List<
TransformEntry
> entries = new(items.Count);
406
List<
TransformEntry
> entries;
461
/// <see cref="
TransformEntry
.Value"/> contains the escaped value, and <see cref="
TransformEntry
.Item"/>
476
out List<
TransformEntry
> entries)
521
entries ??= new List<
TransformEntry
>(items.Count);
623
static string JoinEntries(string separator, List<
TransformEntry
> entries)
643
foreach (
TransformEntry
entry in entries)
727
List<
TransformEntry
> entries;
748
var
entry = entries[i];
Evaluation\Expander.ItemExpander.Transforms.cs (64)
87
internal static void Count(List<
TransformEntry
> input, List<
TransformEntry
> output)
95
List<
TransformEntry
> input,
96
List<
TransformEntry
> output,
104
foreach (
TransformEntry
item in input)
151
List<
TransformEntry
> input,
152
List<
TransformEntry
> output,
159
foreach (
TransformEntry
item in input)
205
List<
TransformEntry
> input,
206
List<
TransformEntry
> output,
215
foreach (
TransformEntry
item in input)
234
List<
TransformEntry
> input,
235
List<
TransformEntry
> output,
246
foreach (
TransformEntry
item in input)
317
List<
TransformEntry
> input,
318
List<
TransformEntry
> output,
328
foreach (
TransformEntry
item in input)
392
List<
TransformEntry
> input,
393
List<
TransformEntry
> output,
403
foreach (
TransformEntry
item in input)
452
List<
TransformEntry
> input,
453
List<
TransformEntry
> output,
464
List<
TransformEntry
> input,
465
List<
TransformEntry
> output,
476
List<
TransformEntry
> input,
477
List<
TransformEntry
> output,
488
foreach (
TransformEntry
item in input)
501
List<
TransformEntry
> input,
502
List<
TransformEntry
> output,
519
List<
TransformEntry
> input,
520
List<
TransformEntry
> output,
532
List<
TransformEntry
> input,
533
List<
TransformEntry
> output,
561
List<
TransformEntry
> input,
562
List<
TransformEntry
> output,
566
foreach (
TransformEntry
item in input)
573
List<
TransformEntry
> input,
574
List<
TransformEntry
> output,
579
foreach (
TransformEntry
item in input)
592
List<
TransformEntry
> input,
593
List<
TransformEntry
> output,
606
foreach (
TransformEntry
item in input)
634
List<
TransformEntry
> input,
635
List<
TransformEntry
> output,
644
foreach (
TransformEntry
item in input)
669
private static void AddTransformResult(List<
TransformEntry
> output, string include, I item, bool includeNullEntries)
806
List<
TransformEntry
> input,
807
List<
TransformEntry
> output,
815
foreach (
TransformEntry
item in input)
849
List<
TransformEntry
> input,
850
List<
TransformEntry
> output,
858
foreach (
TransformEntry
item in input)
872
List<
TransformEntry
> input,
873
List<
TransformEntry
> output,
882
foreach (
TransformEntry
item in input)
911
List<
TransformEntry
> input,
912
List<
TransformEntry
> output,
922
foreach (
TransformEntry
item in input)
949
List<
TransformEntry
> input,
950
List<
TransformEntry
> output,
960
foreach (
TransformEntry
item in input)
987
List<
TransformEntry
> input,
988
List<
TransformEntry
> output,
999
foreach (
TransformEntry
item in input)