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