5 writes to ProjectFile
Microsoft.Build (5)
BackEnd\Components\Logging\LoggingService.cs (2)
1013warning.ProjectFile = buildEvent switch 1255warningEvent.ProjectFile = GetAndVerifyProjectFileFromContext(warningEvent.BuildEventContext);
BackEnd\Components\Logging\LoggingServiceLogMethods.cs (1)
331buildEvent.ProjectFile = projectFile;
Logging\BinaryLogger\BuildEventArgsReader.cs (2)
954ProjectFile = fields.ProjectFile 974ProjectFile = fields.ProjectFile,
20 references to ProjectFile
Microsoft.Build (10)
BackEnd\Components\Logging\LoggingService.cs (6)
1011if (warning.ProjectFile == null && buildEventContext.ProjectContextId != BuildEventContext.InvalidProjectContextId) 1017BuildWarningEventArgs buildWarningEvent => buildWarningEvent.ProjectFile, 1582ProjectFile = warningEvent.ProjectFile, 1604ProjectFile = warningEvent.ProjectFile, 1627ProjectFile = warningEvent.ProjectFile, 1648ProjectFile = warningEvent.ProjectFile,
BackEnd\Components\Logging\LoggingServiceLogMethods.cs (1)
327if (buildEvent.ProjectFile == null && buildEventContext.ProjectContextId != BuildEventContext.InvalidProjectContextId)
EventArgsFormatting.cs (2)
44e.Code, e.File, showProjectFile ? e.ProjectFile : null, e.LineNumber, e.EndLineNumber, 126e.Code, e.File, showProjectFile ? e.ProjectFile : null, e.LineNumber, e.EndLineNumber,
Logging\BinaryLogger\BuildEventArgsWriter.cs (1)
495WriteDeduplicatedString(e.ProjectFile);
Microsoft.Build.Engine.UnitTests (6)
BackEnd\LoggingService_Tests.cs (4)
740Assert.Equal(BuildWarningEventForTreatAsErrorOrMessageTests.ProjectFile, actualBuildEvent.ProjectFile); 832Assert.Equal(BuildWarningEventForTreatAsErrorOrMessageTests.ProjectFile, actualBuildEvent.ProjectFile); 878Assert.Equal(BuildWarningEventForTreatAsErrorOrMessageTests.ProjectFile, actualBuildEvent.ProjectFile); 939Assert.Equal(BuildWarningEventForTreatAsErrorOrMessageTests.ProjectFile, actualBuildEvent.ProjectFile);
BuildEventArgsSerialization_Tests.cs (2)
392e => e.ProjectFile, 430e => e.ProjectFile,
Microsoft.Build.Utilities.Core (2)
EventArgsFormatting.cs (2)
44e.Code, e.File, showProjectFile ? e.ProjectFile : null, e.LineNumber, e.EndLineNumber, 126e.Code, e.File, showProjectFile ? e.ProjectFile : null, e.LineNumber, e.EndLineNumber,
MSBuild (2)
EventArgsFormatting.cs (2)
44e.Code, e.File, showProjectFile ? e.ProjectFile : null, e.LineNumber, e.EndLineNumber, 126e.Code, e.File, showProjectFile ? e.ProjectFile : null, e.LineNumber, e.EndLineNumber,