8 instantiations of PropertyData
Microsoft.Build (5)
Collections\PropertyDictionary.cs (1)
539
yield return
new
(kvp.Key, EscapingUtilities.UnescapeAll(kvp.EscapedValue));
Utilities\Utilities.cs (4)
653
yield return
new
(property.Name, property.EvaluatedValue ?? string.Empty);
657
yield return
new
(key, dictionaryEntry.Value as string ?? string.Empty);
661
yield return
new
(kvp.Key, kvp.Value);
665
yield return
new
(keyTimeSpanValue.Key, keyTimeSpanValue.Value.Ticks.ToString());
Microsoft.Build.Engine.UnitTests (3)
BuildEventArgsDataEnumeration.cs (3)
40
results[0].ShouldBe(
new
("Key", "Value"));
41
results[1].ShouldBe(
new
("prop", "val"));
42
results[2].ShouldBe(
new
("foo", "bar"));
9 references to PropertyData
Microsoft.Build (8)
Collections\PropertyDictionary.cs (2)
533
internal IEnumerable<
PropertyData
> Enumerate()
546
foreach (
var
property in Enumerate())
Logging\BuildEventArgsExtensions.cs (3)
19
public static IEnumerable<
PropertyData
> EnumerateProperties(
26
public static IEnumerable<
PropertyData
> EnumerateProperties(
83
private static IEnumerable<
PropertyData
> EnumerateProperties(IEnumerable? properties)
Utilities\Utilities.cs (3)
627
public static IEnumerable<
PropertyData
> EnumerateProperties(IEnumerable properties)
647
IEnumerable<
PropertyData
> CastOneByOne(IEnumerable props)
687
foreach (
var
tuple in EnumerateProperties(properties))
Microsoft.Build.Engine.UnitTests (1)
BuildEventArgsDataEnumeration.cs (1)
38
List<
PropertyData
> results = args.EnumerateProperties().ToList();