7 writes to ProjectFile
Microsoft.Build (7)
BackEnd\Components\Logging\LoggingService.cs (3)
1259errorEvent.ProjectFile = GetAndVerifyProjectFileFromContext(errorEvent.BuildEventContext); 1627ProjectFile = warningEvent.ProjectFile, 1648ProjectFile = warningEvent.ProjectFile,
BackEnd\Components\Logging\LoggingServiceLogMethods.cs (2)
139buildEvent.ProjectFile = projectFile; 179buildEvent.ProjectFile = projectFile;
Logging\BinaryLogger\BuildEventArgsReader.cs (2)
902ProjectFile = fields.ProjectFile 922ProjectFile = fields.ProjectFile,
15 references to ProjectFile
Microsoft.Build (6)
BackEnd\Components\Logging\LoggingService.cs (1)
1016BuildErrorEventArgs buildErrorEvent => buildErrorEvent.ProjectFile,
BackEnd\Components\Logging\LoggingServiceLogMethods.cs (2)
135if (buildEvent.ProjectFile == null && buildEventContext.ProjectContextId != BuildEventContext.InvalidProjectContextId) 175if (buildEvent.ProjectFile == null && buildEventContext.ProjectContextId != BuildEventContext.InvalidProjectContextId)
EventArgsFormatting.cs (2)
29e.Code, e.File, showProjectFile ? e.ProjectFile : null, e.LineNumber, e.EndLineNumber, 93e.Code, e.File, showProjectFile ? e.ProjectFile : null, e.LineNumber, e.EndLineNumber,
Logging\BinaryLogger\BuildEventArgsWriter.cs (1)
479WriteDeduplicatedString(e.ProjectFile);
Microsoft.Build.Engine.UnitTests (5)
BackEnd\LoggingService_Tests.cs (2)
740Assert.Equal(BuildWarningEventForTreatAsErrorOrMessageTests.ProjectFile, actualBuildEvent.ProjectFile); 878Assert.Equal(BuildWarningEventForTreatAsErrorOrMessageTests.ProjectFile, actualBuildEvent.ProjectFile);
BackEnd\LoggingServicesLogMethod_Tests.cs (1)
478Assert.Equal(projectFile, error.ProjectFile);
BuildEventArgsSerialization_Tests.cs (2)
318e => e.ProjectFile, 357e => e.ProjectFile,
Microsoft.Build.Utilities.Core (2)
EventArgsFormatting.cs (2)
29e.Code, e.File, showProjectFile ? e.ProjectFile : null, e.LineNumber, e.EndLineNumber, 93e.Code, e.File, showProjectFile ? e.ProjectFile : null, e.LineNumber, e.EndLineNumber,
MSBuild (2)
EventArgsFormatting.cs (2)
29e.Code, e.File, showProjectFile ? e.ProjectFile : null, e.LineNumber, e.EndLineNumber, 93e.Code, e.File, showProjectFile ? e.ProjectFile : null, e.LineNumber, e.EndLineNumber,