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