1 write to ProjectType
Microsoft.Build (1)
Graph\ProjectGraphNode.cs (1)
33ProjectType = ProjectInterpretation.GetProjectType(projectInstance);
12 references to ProjectType
Microsoft.Build (4)
Graph\ProjectInterpretation.cs (4)
84switch (projectGraphNode.ProjectType) 252if (outerBuild.ProjectType == ProjectType.OuterBuild && outerBuild.ReferencingProjects.Count != 0) 536return projectGraphNode.ProjectType switch 549if (projectGraphNode.ProjectType == ProjectType.OuterBuild)
Microsoft.Build.Engine.UnitTests (8)
Graph\GraphTestingUtilities.cs (6)
68.Where(p => p.ProjectType == ProjectInterpretation.ProjectType.InnerBuild && p.ProjectInstance.FullPath == outerBuild.ProjectInstance.FullPath) 94node.ProjectType.ShouldBe(ProjectInterpretation.ProjectType.NonMultitargeting); 103outerBuild.ProjectType.ShouldBe(ProjectInterpretation.ProjectType.OuterBuild); 116innerBuild.ProjectType.ShouldBe(ProjectInterpretation.ProjectType.InnerBuild); 143return GetNodesWithProjectNumber(graph, projectNumber).FirstOrDefault(i => i.ProjectType == ProjectInterpretation.ProjectType.OuterBuild); 157.Where(p => p.ProjectType == ProjectInterpretation.ProjectType.InnerBuild && p.ProjectInstance.FullPath.Equals(outerBuild.ProjectInstance.FullPath))
Graph\ProjectGraph_Tests.cs (2)
2138var outerBuild = graph.GraphRoots.First(i => i.ProjectType == ProjectInterpretation.ProjectType.OuterBuild); 2220var innerBuild1WithReferenceToInnerBuild2 = outerBuild1.ProjectReferences.FirstOrDefault(n => n.ProjectType == ProjectInterpretation.ProjectType.InnerBuild && n.ProjectInstance.GlobalProperties[InnerBuildPropertyName] == "a");