35 references to File
Microsoft.Build (9)
BackEnd\Components\Logging\LoggingService.cs (4)
1570extWarningEvent.File, 1592warningEvent.File, 1616extWarningEvent.File, 1637warningEvent.File,
EventArgsFormatting.cs (3)
44e.Code, e.File, showProjectFile ? e.ProjectFile : null, e.LineNumber, e.EndLineNumber, 109e.Code, e.File, null, e.LineNumber, e.EndLineNumber, 126e.Code, e.File, showProjectFile ? e.ProjectFile : null, e.LineNumber, e.EndLineNumber,
Logging\BinaryLogger\BuildEventArgsWriter.cs (1)
494WriteDeduplicatedString(e.File);
LogMessagePacketBase.cs (1)
925string file = buildWarningEventArgs.File;
Microsoft.Build.Engine.UnitTests (6)
BackEnd\LoggingService_Tests.cs (4)
739Assert.Equal(BuildWarningEventForTreatAsErrorOrMessageTests.File, actualBuildEvent.File); 827Assert.Equal(BuildWarningEventForTreatAsErrorOrMessageTests.File, actualBuildEvent.File); 877Assert.Equal(BuildWarningEventForTreatAsErrorOrMessageTests.File, actualBuildEvent.File); 934Assert.Equal(BuildWarningEventForTreatAsErrorOrMessageTests.File, actualBuildEvent.File);
BuildEventArgsSerialization_Tests.cs (2)
389e => e.File, 427e => e.File,
Microsoft.Build.Framework.UnitTests (2)
CustomEventArgSerialization_Tests.cs (2)
511string.Compare(genericEvent.File, newGenericEvent.File, StringComparison.OrdinalIgnoreCase).ShouldBe(0); // "Expected File to Match"
Microsoft.Build.UnitTests.Shared (5)
BuildEventArgsExtension.cs (2)
190if (!String.Equals(args.File, other.File, StringComparison.OrdinalIgnoreCase))
MockEngine.cs (2)
113if (!string.IsNullOrEmpty(eventArgs.File)) 115message += $"{eventArgs.File}({eventArgs.LineNumber},{eventArgs.ColumnNumber}): ";
MockLogger.cs (1)
285string logMessage = $"{w.File}({w.LineNumber},{w.ColumnNumber}): {w.Subcategory} warning {w.Code}: {w.Message}";
Microsoft.Build.Utilities.Core (3)
EventArgsFormatting.cs (3)
44e.Code, e.File, showProjectFile ? e.ProjectFile : null, e.LineNumber, e.EndLineNumber, 109e.Code, e.File, null, e.LineNumber, e.EndLineNumber, 126e.Code, e.File, showProjectFile ? e.ProjectFile : null, e.LineNumber, e.EndLineNumber,
Microsoft.Build.Utilities.UnitTests (2)
TrackedDependencies\MockEngine.cs (2)
58if (!string.IsNullOrEmpty(eventArgs.File)) 60Console.Write("{0}({1},{2}): ", eventArgs.File, eventArgs.LineNumber, eventArgs.ColumnNumber);
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (1)
MSBuild\Logging\MSBuildDiagnosticLogger.cs (1)
34_log?.Add(new MSBuildDiagnosticLogItem(DiagnosticLogItemKind.Warning, _projectFilePath, e.Message ?? "", e.File, e.LineNumber, e.ColumnNumber));
Microsoft.DotNet.ArcadeLogging (1)
PipelinesLogger.cs (1)
198LogErrorOrWarning(isError: false, e.File, e.LineNumber, e.ColumnNumber, e.Code, e.Message, e.BuildEventContext);
MSBuild (5)
EventArgsFormatting.cs (3)
44e.Code, e.File, showProjectFile ? e.ProjectFile : null, e.LineNumber, e.EndLineNumber, 109e.Code, e.File, null, e.LineNumber, e.EndLineNumber, 126e.Code, e.File, showProjectFile ? e.ProjectFile : null, e.LineNumber, e.EndLineNumber,
LogMessagePacketBase.cs (1)
925string file = buildWarningEventArgs.File;
TerminalLogger\TerminalLogger.cs (1)
1130file: HighlightFileName(e.File),
MSBuildTaskHost (1)
LogMessagePacketBase.cs (1)
925string file = buildWarningEventArgs.File;