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)
90
=> output.Add(new
TransformEntry
(input.Count.ToString(CultureInfo.InvariantCulture), item: null));
140
output.Add(new
TransformEntry
(result, item.Item));
144
output.Add(new
TransformEntry
(null, item.Item));
228
output.Add(new
TransformEntry
(escapedPath, null));
310
output.Add(new
TransformEntry
(escapedDirectoryPath, null));
381
output.Add(new
TransformEntry
(directoryName, item.Item));
385
output.Add(new
TransformEntry
(null, item.Item));
432
output.Add(new
TransformEntry
(itemSpec, item.Item));
438
output.Add(new
TransformEntry
(metadataValue, item.Item));
443
output.Add(new
TransformEntry
(metadataValue, item.Item));
677
output.Add(new
TransformEntry
(include, item));
681
output.Add(new
TransformEntry
(value: null, item));
838
output.Add(new
TransformEntry
(include, item.Item));
842
output.Add(new
TransformEntry
(null, item.Item));
864
output.Add(new
TransformEntry
(item.Value, null));
1022
output.Add(new
TransformEntry
("true", item.Item));
1033
output.Add(new
TransformEntry
("false", null));
82 references to TransformEntry
Microsoft.Build (82)
Evaluation\Expander.cs (1)
408
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)
89
internal static void Count(List<
TransformEntry
> input, List<
TransformEntry
> output)
97
List<
TransformEntry
> input,
98
List<
TransformEntry
> output,
106
foreach (
TransformEntry
item in input)
153
List<
TransformEntry
> input,
154
List<
TransformEntry
> output,
161
foreach (
TransformEntry
item in input)
207
List<
TransformEntry
> input,
208
List<
TransformEntry
> output,
217
foreach (
TransformEntry
item in input)
236
List<
TransformEntry
> input,
237
List<
TransformEntry
> output,
248
foreach (
TransformEntry
item in input)
319
List<
TransformEntry
> input,
320
List<
TransformEntry
> output,
330
foreach (
TransformEntry
item in input)
394
List<
TransformEntry
> input,
395
List<
TransformEntry
> output,
405
foreach (
TransformEntry
item in input)
454
List<
TransformEntry
> input,
455
List<
TransformEntry
> output,
466
List<
TransformEntry
> input,
467
List<
TransformEntry
> output,
478
List<
TransformEntry
> input,
479
List<
TransformEntry
> output,
490
foreach (
TransformEntry
item in input)
503
List<
TransformEntry
> input,
504
List<
TransformEntry
> output,
521
List<
TransformEntry
> input,
522
List<
TransformEntry
> output,
534
List<
TransformEntry
> input,
535
List<
TransformEntry
> output,
563
List<
TransformEntry
> input,
564
List<
TransformEntry
> output,
568
foreach (
TransformEntry
item in input)
575
List<
TransformEntry
> input,
576
List<
TransformEntry
> output,
581
foreach (
TransformEntry
item in input)
594
List<
TransformEntry
> input,
595
List<
TransformEntry
> output,
608
foreach (
TransformEntry
item in input)
636
List<
TransformEntry
> input,
637
List<
TransformEntry
> output,
646
foreach (
TransformEntry
item in input)
671
private static void AddTransformResult(List<
TransformEntry
> output, string include, I item, bool includeNullEntries)
808
List<
TransformEntry
> input,
809
List<
TransformEntry
> output,
817
foreach (
TransformEntry
item in input)
851
List<
TransformEntry
> input,
852
List<
TransformEntry
> output,
860
foreach (
TransformEntry
item in input)
874
List<
TransformEntry
> input,
875
List<
TransformEntry
> output,
884
foreach (
TransformEntry
item in input)
913
List<
TransformEntry
> input,
914
List<
TransformEntry
> output,
924
foreach (
TransformEntry
item in input)
951
List<
TransformEntry
> input,
952
List<
TransformEntry
> output,
962
foreach (
TransformEntry
item in input)
989
List<
TransformEntry
> input,
990
List<
TransformEntry
> output,
1001
foreach (
TransformEntry
item in input)