5 references to TryGetPropertyElementLocation
Microsoft.Build (1)
Evaluation\PropertiesUseTracker.cs (1)
137
bool isPropertyInList =
TryGetPropertyElementLocation
(propertyElement.Name, out elementWhichUsedProperty);
Microsoft.Build.Engine.UnitTests (4)
Evaluation\UsedUninitializedProperties_Tests.cs (4)
20
Assert.False(props.
TryGetPropertyElementLocation
("Hello", out IElementLocation? elementLocation));
31
Assert.True(props.
TryGetPropertyElementLocation
("Hello", out elementLocation));
34
Assert.True(props.
TryGetPropertyElementLocation
("Hello", out elementLocation));
39
Assert.False(props.
TryGetPropertyElementLocation
("Hello", out elementLocation));