2 writes to Importance
Microsoft.Build (1)
BackEnd\Components\RequestBuilder\TargetUpToDateChecker.cs (1)
244Importance = MessageImportance.Normal
Microsoft.Build.Engine.UnitTests (1)
BackEnd\NodePackets_Tests.cs (1)
231Importance = MessageImportance.Normal,
44 references to Importance
Microsoft.Arcade.Test.Common (1)
MockEngine.cs (1)
43_output?.WriteLine($"{e.Importance} : {e.Message}");
Microsoft.Build (9)
Logging\BinaryLogger\BuildEventArgsWriter.cs (2)
742Write((int)e.Importance); 804if (writeImportance && e.Importance != MessageImportance.Low)
Logging\DistributedLoggers\ConfigurableForwardingLogger.cs (3)
355(_forwardLowImportanceMessages && e.Importance == MessageImportance.Low) || 356(_forwardNormalImportanceMessages && e.Importance == MessageImportance.Normal) || 357(_forwardHighImportanceMessages && e.Importance == MessageImportance.High) ||
Logging\ParallelLogger\ParallelConsoleLogger.cs (1)
1146LoggerVerbosity minimumVerbosity = ImportanceToMinimumVerbosity(e.Importance, out lightenText);
Logging\SerialConsoleLogger.cs (1)
508LoggerVerbosity minimumVerbosity = ImportanceToMinimumVerbosity(e.Importance, out bool lightenText);
LogMessagePacketBase.cs (2)
967MessageImportance importance = taskCommandLineEventArgs.Importance; 982MessageImportance importance = buildMessageEventArgs.Importance;
Microsoft.Build.Engine.UnitTests (13)
BackEnd\BuildManager_Tests.cs (3)
1009deferredMessages[0].Importance.ShouldBe(MessageImportance.High); 1011deferredMessages[1].Importance.ShouldBe(MessageImportance.Normal); 1013deferredMessages[2].Importance.ShouldBe(MessageImportance.Low);
BackEnd\LoggingService_Tests.cs (2)
829Assert.Equal(MessageImportance.Low, actualBuildEvent.Importance); 936Assert.Equal(MessageImportance.Low, actualBuildEvent.Importance);
BackEnd\TaskHost_Tests.cs (1)
313Assert.Equal(MessageImportance.High, _customLogger.LastMessage.Importance); // "Expected Message importance to be high"
BuildEventArgsSerialization_Tests.cs (7)
466e => e.Importance.ToString(), 506e => e.Importance.ToString(), 536e => e.Importance.ToString(), 603desArgs.Importance.ShouldBe(MessageImportance.Normal); 710e => e.Importance.ToString(), 832e => e.Importance.ToString(), 862e => e.Importance.ToString(),
Microsoft.Build.Framework.UnitTests (10)
AssemblyLoadBuildEventArgs_Tests.cs (2)
40argDeserialized.Importance.ShouldBe(arg.Importance);
CustomEventArgSerialization_Tests.cs (8)
273newGenericEvent.Importance.ShouldBe(genericEvent.Importance); // "Expected Message Importance to Match" 291newGenericEvent.Importance.ShouldBe(genericEvent.Importance); // "Expected Message Importance to Match" 309newGenericEvent.Importance.ShouldBe(genericEvent.Importance); // "Expected Message Importance to Match" 316newMessageEvent.Importance.ShouldBe(messageEvent.Importance); // "Expected Message Importance to Match"
Microsoft.Build.UnitTests.Shared (2)
BuildEventArgsExtension.cs (2)
108if (args.Importance != other.Importance)
Microsoft.Build.Utilities.UnitTests (1)
MockEngine.cs (1)
67if (eventArgs.Importance <= MinimumMessageImportance)
Microsoft.DotNet.Build.Tasks.Packaging.Tests (1)
TestBuildEngine.cs (1)
48_log.LogMessage((LogImportance)e.Importance, e.Message);
Microsoft.Extensions.ApiDescription.Client.Tests (1)
MockBuildEngine.cs (1)
87if (eventArgs.Importance <= MinimumMessageImportance)
Microsoft.Maui.Resizetizer (1)
AsyncTask.cs (1)
293 Log.LogMessage(e.Importance, e.Message);
MSBuild (3)
LogMessagePacketBase.cs (2)
967MessageImportance importance = taskCommandLineEventArgs.Importance; 982MessageImportance importance = buildMessageEventArgs.Importance;
TerminalLogger\TerminalLogger.cs (1)
822if (message is not null && e.Importance == MessageImportance.High)
MSBuildTaskHost (2)
LogMessagePacketBase.cs (2)
967MessageImportance importance = taskCommandLineEventArgs.Importance; 982MessageImportance importance = buildMessageEventArgs.Importance;