1 write to _projectRootElement
Microsoft.Build (1)
Evaluation\Evaluator.cs (1)
283_projectRootElement = projectRootElement;
28 references to _projectRootElement
Microsoft.Build (28)
Evaluation\Evaluator.cs (28)
665string projectFile = string.IsNullOrEmpty(_projectRootElement.ProjectFileLocation.File) ? "(null)" : _projectRootElement.ProjectFileLocation.File; 690MSBuildEventSource.Log.EvaluatePass0Start(_projectRootElement.ProjectFileLocation.File); 710PerformDepthFirstPass(_projectRootElement); 883if (_projectRootElement.Count > 0) // VB/C# will new up empty projects; they aren't worth recording 899string 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); 1248if (string.IsNullOrEmpty(_projectRootElement.FullPath)) 1250SetBuiltInProperty(ReservedPropertyNames.projectDirectory, string.IsNullOrEmpty(_projectRootElement.DirectoryPath) ? 1255_projectRootElement.DirectoryPath); 1262string projectFileWithoutExtension = EscapingUtilities.Escape(Path.GetFileNameWithoutExtension(_projectRootElement.FullPath)); 1263string projectExtension = EscapingUtilities.Escape(Path.GetExtension(_projectRootElement.FullPath)); 1265string projectDirectory = EscapingUtilities.Escape(_projectRootElement.DirectoryPath); 1416lazyEvaluator.ProcessItemElement(_projectRootElement.DirectoryPath, itemElement, conditionResult); 2042string projectPath = _projectRootElement.FullPath != null ? 2043_projectRootElement.FullPath + projectNameEnding : 2086_projectRootElement.IsExplicitlyLoaded, 2210if (string.Equals(_projectRootElement.FullPath, importFileUnescaped, StringComparison.OrdinalIgnoreCase) /* We are trying to import ourselves */) 2251if (previouslyImportedAt.ContainingProject != _projectRootElement && importElement.ContainingProject != _projectRootElement) 2253parenthesizedProjectLocation = $"[{_projectRootElement.FullPath}]"; 2734_projectRootElement); 2737string definingProject = _projectRootElement.FullPath ?? string.Empty; 2745_projectRootElement); 2752_projectRootElement); 2809_projectRootElement); 2812string definingProject = _projectRootElement.FullPath ?? string.Empty; 2834ProjectMetadataElement metadataElement = ProjectMetadataElement.CreateDisconnected(metadataName, _projectRootElement);