1 write to _project
Microsoft.Build (1)
Evaluation\ProjectParser.cs (1)
103_project = project;
48 references to _project
Microsoft.Build (48)
Evaluation\ProjectParser.cs (48)
136ProjectErrorUtilities.VerifyThrowInvalidProject(element.Name != XMakeElements.visualStudioProject, element.Location, "ProjectUpgradeNeeded", _project.FullPath); 147_project.XmlNamespace = element.NamespaceURI; 153_project.SetProjectRootElementFromParser(element, _project); 160_project.AppendParentedChildNoChecks(ParseProjectPropertyGroupElement(childElement, _project)); 164_project.AppendParentedChildNoChecks(ParseProjectItemGroupElement(childElement, _project)); 168_project.AppendParentedChildNoChecks(ParseProjectImportGroupElement(childElement, _project)); 172_project.AppendParentedChildNoChecks(ParseProjectImportElement(childElement, _project)); 176_project.AppendParentedChildNoChecks(ParseProjectUsingTaskElement(childElement)); 180_project.AppendParentedChildNoChecks(ParseProjectTargetElement(childElement)); 184_project.AppendParentedChildNoChecks(ParseProjectItemDefinitionGroupElement(childElement, _project)); 188_project.AppendParentedChildNoChecks(ParseProjectChooseElement(childElement, _project, 0 /* nesting depth */)); 192_project.AppendParentedChildNoChecks(ParseProjectExtensionsElement(childElement)); 196_project.AppendParentedChildNoChecks(ParseProjectSdkElement(childElement)); 220ProjectPropertyGroupElement propertyGroup = new ProjectPropertyGroupElement(element, parent, _project); 229ProjectPropertyElement property = new ProjectPropertyElement(childElement, propertyGroup, _project); 244ProjectItemGroupElement itemGroup = new ProjectItemGroupElement(element, parent, _project); 312ProjectItemElement item = new ProjectItemElement(element, parent, _project); 327ProjectMetadataElement metadatum = _project.CreateMetadataElement(attribute); 403ProjectMetadataElement metadatum = new ProjectMetadataElement(element, parent, _project); 425ProjectImportGroupElement importGroup = new ProjectImportGroupElement(element, parent, _project); 469return new ProjectImportElement(element, parent, _project, sdk); 480UsingTaskParameterGroupElement parameterGroup = new UsingTaskParameterGroupElement(element, parent, _project); 494ProjectUsingTaskParameterElement parameter = new ProjectUsingTaskParameterElement(childElement, parameterGroup, _project); 527ProjectUsingTaskElement usingTask = new ProjectUsingTaskElement(element, _project, _project); 555child = new ProjectUsingTaskBodyElement(childElement, usingTask, _project); 586ProjectTargetElement target = new ProjectTargetElement(element, _project, _project); 620child = onError = new ProjectOnErrorElement(childElement, target, _project); 664ProjectTaskElement task = new ProjectTaskElement(element, parent, _project); 701return new ProjectOutputElement(element, parent, _project); 711ProjectItemDefinitionGroupElement itemDefinitionGroup = new ProjectItemDefinitionGroupElement(element, parent, _project); 732ProjectItemDefinitionElement itemDefinition = new ProjectItemDefinitionElement(element, parent, _project); 744ProjectMetadataElement metadatum = _project.CreateMetadataElement(attribute); 773ProjectChooseElement choose = new ProjectChooseElement(element, parent, _project); 819ProjectWhenElement when = new ProjectWhenElement(element, parent, _project); 833ProjectOtherwiseElement otherwise = new ProjectOtherwiseElement(element, parent, _project); 889return new ProjectExtensionsElement(element, _project, _project); 902return new ProjectSdkElement(element, _project, _project);