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