14 references to PropertyNames
Microsoft.Build (8)
BuildCheck\Checks\TargetFrameworkConfusionCheck.cs (3)
48
if (context.Data.EvaluatedProperties.TryGetValue(
PropertyNames
.TargetFrameworks, out frameworks) &&
49
context.Data.EvaluatedProperties.TryGetValue(
PropertyNames
.TargetFramework, out framework) &&
50
!context.Data.GlobalProperties.ContainsKey(
PropertyNames
.TargetFramework))
Graph\GraphBuilder.cs (3)
427
if (globalPropertyDictionary.GetProperty(
PropertyNames
.IsGraphBuild) == null)
429
globalPropertyDictionary[
PropertyNames
.IsGraphBuild] = ProjectPropertyInstance.Create(
PropertyNames
.IsGraphBuild, "true");
Graph\ProjectInterpretation.cs (2)
218
return project.GetPropertyValue(
PropertyNames
.InnerBuildProperty);
223
return project.GetPropertyValue(project.GetPropertyValue(
PropertyNames
.InnerBuildPropertyValues));
Microsoft.Build.Engine.UnitTests (4)
Graph\GraphTestingUtilities.cs (1)
20
public static readonly ImmutableDictionary<string, string> EmptyGlobalProperties = new Dictionary<string, string> { {
PropertyNames
.IsGraphBuild, "true" } }.ToImmutableDictionary();
Graph\ProjectGraph_Tests.cs (3)
2332
expectedGlobalProperties[
PropertyNames
.IsGraphBuild] = "true";
2349
new Dictionary<string, string> { {
PropertyNames
.IsGraphBuild, "xyz" } });
2351
projectGraph.ProjectNodes.First().ProjectInstance.GlobalProperties[
PropertyNames
.IsGraphBuild].ShouldBe("xyz");
MSBuild (2)
XMake.cs (2)
1614
if (!entryPoint.GlobalProperties.ContainsKey(
PropertyNames
.IsGraphBuild))
1616
entryPoint.GlobalProperties[
PropertyNames
.IsGraphBuild] = "true";