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