1 write to ProjectType
Microsoft.Build (1)
Graph\ProjectGraphNode.cs (1)
33
ProjectType
= ProjectInterpretation.GetProjectType(projectInstance);
12 references to ProjectType
Microsoft.Build (4)
Graph\ProjectInterpretation.cs (4)
84
switch (projectGraphNode.
ProjectType
)
252
if (outerBuild.
ProjectType
== ProjectType.OuterBuild && outerBuild.ReferencingProjects.Count != 0)
536
return projectGraphNode.
ProjectType
switch
549
if (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)
94
node.
ProjectType
.ShouldBe(ProjectInterpretation.ProjectType.NonMultitargeting);
103
outerBuild.
ProjectType
.ShouldBe(ProjectInterpretation.ProjectType.OuterBuild);
116
innerBuild.
ProjectType
.ShouldBe(ProjectInterpretation.ProjectType.InnerBuild);
143
return 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)
2138
var outerBuild = graph.GraphRoots.First(i => i.
ProjectType
== ProjectInterpretation.ProjectType.OuterBuild);
2220
var innerBuild1WithReferenceToInnerBuild2 = outerBuild1.ProjectReferences.FirstOrDefault(n => n.
ProjectType
== ProjectInterpretation.ProjectType.InnerBuild && n.ProjectInstance.GlobalProperties[InnerBuildPropertyName] == "a");