8 writes to ImportedProjectFile
Microsoft.Build (6)
Evaluation\Evaluator.cs (5)
1814ImportedProjectFile = null, 1993ImportedProjectFile = string.Empty, 2193ImportedProjectFile = importedProjectElement.FullPath, 2226ImportedProjectFile = importFileUnescaped, 2281ImportedProjectFile = importFileUnescaped,
Logging\BinaryLogger\BuildEventArgsReader.cs (1)
547e.ImportedProjectFile = importedProjectFile;
Microsoft.Build.Engine.UnitTests (1)
BuildEventArgsSerialization_Tests.cs (1)
824ImportedProjectFile = "foo.props",
Microsoft.Build.Framework (1)
ProjectImportedEventArgs.cs (1)
84ImportedProjectFile = reader.ReadOptionalString();
17 references to ImportedProjectFile
Microsoft.Build (5)
BuildCheck\Infrastructure\BuildCheckManagerProvider.cs (2)
408if (string.IsNullOrEmpty(projectImportedEventArgs.ImportedProjectFile)) 413PropagateImport(checkContext.BuildEventContext.EvaluationId, projectImportedEventArgs.ProjectFile, projectImportedEventArgs.ImportedProjectFile);
Logging\BinaryLogger\BinaryLogger.cs (2)
388if (e is ProjectImportedEventArgs importArgs && importArgs.ImportedProjectFile != null) 390projectImportsCollector.AddFile(importArgs.ImportedProjectFile);
Logging\BinaryLogger\BuildEventArgsWriter.cs (1)
552WriteDeduplicatedString(e.ImportedProjectFile);
Microsoft.Build.Engine.OM.UnitTests (8)
Definition\Project_Tests.cs (8)
3915eventArgs.ImportedProjectFile.ShouldBeNull(); 3956eventArgs.ImportedProjectFile.ShouldBeNull(); 4001eventArgs.ImportedProjectFile.ShouldBe(importFile.Path); 4048eventArgs.ImportedProjectFile.ShouldBe(importFile.Path); 4088eventArgs.ImportedProjectFile.ShouldBe(string.Empty); 4131eventArgs.ImportedProjectFile.ShouldBe(importPath); 4174eventArgs.ImportedProjectFile.ShouldBeNull(); 4219eventArgs.ImportedProjectFile.ShouldBe(pre1.FullPath);
Microsoft.Build.Engine.UnitTests (3)
BuildEventArgsSerialization_Tests.cs (1)
830e => e.ImportedProjectFile,
Evaluation\ProjectSdkImplicitImport_Tests.cs (2)
495events[0].ImportedProjectFile.ShouldBeNull(); 499events[1].ImportedProjectFile.ShouldBeNull();
Microsoft.Build.Framework (1)
ProjectImportedEventArgs.cs (1)
75writer.WriteOptionalString(ImportedProjectFile);