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); 2044string projectPath = _projectRootElement.FullPath != null ? 2045_projectRootElement.FullPath + projectNameEnding : 2088_projectRootElement.IsExplicitlyLoaded, 2212if (string.Equals(_projectRootElement.FullPath, importFileUnescaped, StringComparison.OrdinalIgnoreCase) /* We are trying to import ourselves */) 2253if (previouslyImportedAt.ContainingProject != _projectRootElement && importElement.ContainingProject != _projectRootElement) 2255parenthesizedProjectLocation = $"[{_projectRootElement.FullPath}]"; 2736_projectRootElement); 2739string definingProject = _projectRootElement.FullPath ?? string.Empty; 2747_projectRootElement); 2754_projectRootElement); 2811_projectRootElement); 2814string definingProject = _projectRootElement.FullPath ?? string.Empty; 2836ProjectMetadataElement metadataElement = ProjectMetadataElement.CreateDisconnected(metadataName, _projectRootElement);