1 override of Message
Microsoft.Build.Framework (1)
LazyFormattedBuildEventArgs.cs (1)
82public override string? Message
22 references to Message
Microsoft.Build (3)
Logging\BinaryLogger\BuildEventArgsWriter.cs (2)
233e.Message, 246e.Message,
LogMessagePacketBase.cs (1)
874string message = buildEvent.Message;
Microsoft.Build.BuildCheck.UnitTests (1)
BuildCheckManagerProviderTests.cs (1)
47_logger.AllBuildEvents.Where(be => be.GetType() == typeof(BuildMessageEventArgs)).Select(be => be.Message).ToArray()
Microsoft.Build.Engine.UnitTests (4)
BackEnd\BuildManager_Logging_Tests.cs (1)
131allEvents.First(x => x is T).Message.ShouldContain(
BackEnd\TaskBuilder_Tests.cs (1)
162if (unescapedSleepCommand.Equals(args.Message))
BackEnd\TaskHost_Tests.cs (2)
1281if (e.Message != null) 1283Console.Out.WriteLine("AnyEvent:" + e.Message);
Microsoft.Build.Framework (5)
LazyFormattedBuildEventArgs.cs (5)
92if (argsOrMessage is object[] arguments && arguments.Length > 0 && base.Message is not null) 94formattedMessage = FormatString(base.Message, arguments); 99return base.Message; 112base.WriteToStreamWithExplicitMessage(writer, base.Message); 125base.WriteToStreamWithExplicitMessage(writer, (argsOrMessage is string formattedMessage) ? formattedMessage : base.Message);
Microsoft.Build.Framework.UnitTests (2)
CustomEventArgSerialization_Tests.cs (2)
117newGenericEvent.Message.ShouldBe(genericEvent.Message, StringCompareShould.IgnoreCase); // "Expected Message to Match"
Microsoft.Build.Tasks.UnitTests (1)
RoslynCodeTaskFactory_Tests.cs (1)
761var logLines = logger.AllBuildEvents.Select(a => a.Message);
Microsoft.Build.UnitTests.Shared (4)
BuildEventArgsExtension.cs (3)
58if (!String.IsNullOrEmpty(args.Message)) 61string fixedArgsMessage = args.Message.Replace("\r\nThis is an unhandled exception from a task -- PLEASE OPEN A BUG AGAINST THE TASK OWNER.", String.Empty); 62string fixedOtherMessage = other.Message.Replace("\r\nThis is an unhandled exception from a task -- PLEASE OPEN A BUG AGAINST THE TASK OWNER.", String.Empty);
MockLogger.cs (1)
310string msg = eventArgs.Message ?? $"(null message in {eventArgs.GetType().Name} event)";
MSBuild (1)
LogMessagePacketBase.cs (1)
874string message = buildEvent.Message;
MSBuildTaskHost (1)
LogMessagePacketBase.cs (1)
874string message = buildEvent.Message;