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)
709string projectFile = string.IsNullOrEmpty(_projectRootElement.ProjectFileLocation.File) ? "(null)" : _projectRootElement.ProjectFileLocation.File; 735MSBuildEventSource.Log.EvaluatePass0Start(_projectRootElement.ProjectFileLocation.File); 758PerformDepthFirstPass(_projectRootElement); 944if (_projectRootElement.Count > 0) // VB/C# will new up empty projects; they aren't worth recording 960string 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); 1320if (string.IsNullOrEmpty(_projectRootElement.FullPath)) 1322SetBuiltInProperty(ReservedPropertyNames.ProjectDirectory, string.IsNullOrEmpty(_projectRootElement.DirectoryPath) ? 1327_projectRootElement.DirectoryPath); 1334string projectFileWithoutExtension = EscapingUtilities.Escape(Path.GetFileNameWithoutExtension(_projectRootElement.FullPath)); 1335string projectExtension = EscapingUtilities.Escape(Path.GetExtension(_projectRootElement.FullPath)); 1337string projectDirectory = EscapingUtilities.Escape(_projectRootElement.DirectoryPath); 1488lazyEvaluator.ProcessItemElement(_projectRootElement.DirectoryPath, itemElement, conditionResult); 2114string projectPath = _projectRootElement.FullPath != null ? 2115_projectRootElement.FullPath + projectNameEnding : 2158_projectRootElement.IsExplicitlyLoaded, 2282if (string.Equals(_projectRootElement.FullPath, importFileUnescaped, StringComparison.OrdinalIgnoreCase) /* We are trying to import ourselves */) 2323if (previouslyImportedAt.ContainingProject != _projectRootElement && importElement.ContainingProject != _projectRootElement) 2325parenthesizedProjectLocation = $"[{_projectRootElement.FullPath}]"; 2806_projectRootElement); 2809string definingProject = _projectRootElement.FullPath ?? string.Empty; 2817_projectRootElement); 2824_projectRootElement); 2881_projectRootElement); 2884string definingProject = _projectRootElement.FullPath ?? string.Empty; 2906ProjectMetadataElement metadataElement = ProjectMetadataElement.CreateDisconnected(metadataName, _projectRootElement);