28 references to LineNumber
Microsoft.Build (6)
BackEnd\Components\RequestBuilder\TaskHost.cs (1)
448
e.
LineNumber
,
EventArgsFormatting.cs (3)
29
e.Code, e.File, showProjectFile ? e.ProjectFile : null, e.
LineNumber
, e.EndLineNumber,
76
e.Code, e.File, null, e.
LineNumber
, e.EndLineNumber,
93
e.Code, e.File, showProjectFile ? e.ProjectFile : null, e.
LineNumber
, e.EndLineNumber,
Logging\BinaryLogger\BuildEventArgsWriter.cs (1)
501
Write(e.
LineNumber
);
LogMessagePacketBase.cs (1)
955
int lineNumber = buildErrorEventArgs.
LineNumber
;
Microsoft.Build.Engine.UnitTests (6)
BackEnd\LoggingService_Tests.cs (2)
748
Assert.Equal(BuildWarningEventForTreatAsErrorOrMessageTests.LineNumber, actualBuildEvent.
LineNumber
);
886
Assert.Equal(BuildWarningEventForTreatAsErrorOrMessageTests.LineNumber, actualBuildEvent.
LineNumber
);
BackEnd\TaskHost_Tests.cs (2)
202
Assert.Equal(0, _customLogger.LastError.
LineNumber
); // "Expected line number to be 0"
285
Assert.Equal(0, _customLogger.LastError.
LineNumber
); // "Expected line number to be 0"
BuildEventArgsSerialization_Tests.cs (2)
316
e => e.
LineNumber
.ToString(),
355
e => e.
LineNumber
.ToString(),
Microsoft.Build.UnitTests.Shared (4)
BuildEventArgsExtension.cs (2)
134
if (args.
LineNumber
!= other.
LineNumber
)
MockEngine.cs (1)
86
message += $"{eventArgs.File}({eventArgs.
LineNumber
},{eventArgs.ColumnNumber}): ";
MockLogger.cs (1)
296
string logMessage = $"{e.File}({e.
LineNumber
},{e.ColumnNumber}): {e.Subcategory} error {e.Code}: {e.Message}";
Microsoft.Build.Utilities.Core (3)
EventArgsFormatting.cs (3)
29
e.Code, e.File, showProjectFile ? e.ProjectFile : null, e.
LineNumber
, e.EndLineNumber,
76
e.Code, e.File, null, e.
LineNumber
, e.EndLineNumber,
93
e.Code, e.File, showProjectFile ? e.ProjectFile : null, e.
LineNumber
, e.EndLineNumber,
Microsoft.Build.Utilities.UnitTests (1)
TrackedDependencies\MockEngine.cs (1)
42
Console.Write("{0}({1},{2}): ", eventArgs.File, eventArgs.
LineNumber
, eventArgs.ColumnNumber);
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (1)
MSBuild\Logging\MSBuildDiagnosticLogger.cs (1)
28
_log?.Add(new MSBuildDiagnosticLogItem(DiagnosticLogItemKind.Error, _projectFilePath, e.Message ?? "", e.File, e.
LineNumber
, e.ColumnNumber));
Microsoft.DotNet.ArcadeLogging (1)
PipelinesLogger.cs (1)
195
LogErrorOrWarning(isError: true, e.File, e.
LineNumber
, e.ColumnNumber, e.Code, e.Message, e.BuildEventContext);
MSBuild (5)
EventArgsFormatting.cs (3)
29
e.Code, e.File, showProjectFile ? e.ProjectFile : null, e.
LineNumber
, e.EndLineNumber,
76
e.Code, e.File, null, e.
LineNumber
, e.EndLineNumber,
93
e.Code, e.File, showProjectFile ? e.ProjectFile : null, e.
LineNumber
, e.EndLineNumber,
LogMessagePacketBase.cs (1)
955
int lineNumber = buildErrorEventArgs.
LineNumber
;
TerminalLogger\TerminalLogger.cs (1)
1146
lineNumber: e.
LineNumber
,
MSBuildTaskHost (1)
LogMessagePacketBase.cs (1)
955
int lineNumber = buildErrorEventArgs.
LineNumber
;