31 references to File
Microsoft.Build (6)
BackEnd\Components\RequestBuilder\TaskHost.cs (1)
447
e.
File
,
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)
499
WriteDeduplicatedString(e.
File
);
LogMessagePacketBase.cs (1)
952
string file = buildErrorEventArgs.
File
;
Microsoft.Build.Engine.UnitTests (5)
BackEnd\LoggingService_Tests.cs (2)
739
Assert.Equal(BuildWarningEventForTreatAsErrorOrMessageTests.File, actualBuildEvent.
File
);
877
Assert.Equal(BuildWarningEventForTreatAsErrorOrMessageTests.File, actualBuildEvent.
File
);
BackEnd\LoggingServicesLogMethod_Tests.cs (1)
477
Assert.Equal(targetsFile, error.
File
);
BuildEventArgsSerialization_Tests.cs (2)
315
e => e.
File
,
354
e => e.
File
,
Microsoft.Build.Framework.UnitTests (2)
CustomEventArgSerialization_Tests.cs (2)
200
newGenericEvent.
File
.ShouldBe(genericEvent.
File
, StringCompareShould.IgnoreCase); // "Expected File to Match"
Microsoft.Build.UnitTests.Shared (5)
BuildEventArgsExtension.cs (2)
144
if (!String.Equals(args.
File
, other.
File
, StringComparison.OrdinalIgnoreCase))
MockEngine.cs (2)
84
if (!string.IsNullOrEmpty(eventArgs.
File
))
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 (2)
TrackedDependencies\MockEngine.cs (2)
40
if (!string.IsNullOrEmpty(eventArgs.
File
))
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)
952
string file = buildErrorEventArgs.
File
;
TerminalLogger\TerminalLogger.cs (1)
1145
file: HighlightFileName(e.
File
),
MSBuildTaskHost (1)
LogMessagePacketBase.cs (1)
952
string file = buildErrorEventArgs.
File
;