1 write to _projectRootElement
Microsoft.Build (1)
Evaluation\Evaluator.cs (1)
284_projectRootElement = projectRootElement;
28 references to _projectRootElement
Microsoft.Build (28)
Evaluation\Evaluator.cs (28)
705string projectFile = string.IsNullOrEmpty(_projectRootElement.ProjectFileLocation.File) ? "(null)" : _projectRootElement.ProjectFileLocation.File; 731MSBuildEventSource.Log.EvaluatePass0Start(_projectRootElement.ProjectFileLocation.File); 754PerformDepthFirstPass(_projectRootElement); 940if (_projectRootElement.Count > 0) // VB/C# will new up empty projects; they aren't worth recording 956string output = string.Format(CultureInfo.CurrentUICulture, "###: MSBUILD: Evaluating or reevaluating project {0} with {1} global properties and {2} tools version, child count {3}, CurrentSolutionConfigurationContents hash {4} other properties:\n{5}", _projectRootElement.FullPath, globalPropertiesCount, _data.Toolset.ToolsVersion, _projectRootElement.Count, hash, propertyDump); 1316if (string.IsNullOrEmpty(_projectRootElement.FullPath)) 1318SetBuiltInProperty(ReservedPropertyNames.projectDirectory, string.IsNullOrEmpty(_projectRootElement.DirectoryPath) ? 1323_projectRootElement.DirectoryPath); 1330string projectFileWithoutExtension = EscapingUtilities.Escape(Path.GetFileNameWithoutExtension(_projectRootElement.FullPath)); 1331string projectExtension = EscapingUtilities.Escape(Path.GetExtension(_projectRootElement.FullPath)); 1333string projectDirectory = EscapingUtilities.Escape(_projectRootElement.DirectoryPath); 1484lazyEvaluator.ProcessItemElement(_projectRootElement.DirectoryPath, itemElement, conditionResult); 2110string projectPath = _projectRootElement.FullPath != null ? 2111_projectRootElement.FullPath + projectNameEnding : 2154_projectRootElement.IsExplicitlyLoaded, 2278if (string.Equals(_projectRootElement.FullPath, importFileUnescaped, StringComparison.OrdinalIgnoreCase) /* We are trying to import ourselves */) 2319if (previouslyImportedAt.ContainingProject != _projectRootElement && importElement.ContainingProject != _projectRootElement) 2321parenthesizedProjectLocation = $"[{_projectRootElement.FullPath}]"; 2802_projectRootElement); 2805string definingProject = _projectRootElement.FullPath ?? string.Empty; 2813_projectRootElement); 2820_projectRootElement); 2877_projectRootElement); 2880string definingProject = _projectRootElement.FullPath ?? string.Empty; 2902ProjectMetadataElement metadataElement = ProjectMetadataElement.CreateDisconnected(metadataName, _projectRootElement);