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