29 references to Subcategory
Microsoft.Build (9)
BackEnd\Components\Logging\LoggingService.cs (4)
1568extWarningEvent.Subcategory, 1590warningEvent.Subcategory, 1614extWarningEvent.Subcategory, 1635warningEvent.Subcategory,
EventArgsFormatting.cs (3)
43return FormatEventMessage("warning", e.Subcategory, e.Message, 108return FormatEventMessage("warning", e.Subcategory, e.Message, 125return FormatEventMessage("warning", e.Subcategory, e.Message,
Logging\BinaryLogger\BuildEventArgsWriter.cs (1)
492WriteDeduplicatedString(e.Subcategory);
LogMessagePacketBase.cs (1)
931string subCategory = buildWarningEventArgs.Subcategory;
Microsoft.Build.Engine.UnitTests (6)
BackEnd\LoggingService_Tests.cs (4)
741Assert.Equal(BuildWarningEventForTreatAsErrorOrMessageTests.Subcategory, actualBuildEvent.Subcategory); 834Assert.Equal(BuildWarningEventForTreatAsErrorOrMessageTests.Subcategory, actualBuildEvent.Subcategory); 879Assert.Equal(BuildWarningEventForTreatAsErrorOrMessageTests.Subcategory, actualBuildEvent.Subcategory); 941Assert.Equal(BuildWarningEventForTreatAsErrorOrMessageTests.Subcategory, actualBuildEvent.Subcategory);
BuildEventArgsSerialization_Tests.cs (2)
393e => e.Subcategory, 431e => e.Subcategory,
Microsoft.Build.Framework.UnitTests (2)
CustomEventArgSerialization_Tests.cs (2)
509newGenericEvent.Subcategory.ShouldBe(genericEvent.Subcategory, StringCompareShould.IgnoreCase); // "Expected SubCategory to Match"
Microsoft.Build.UnitTests.Shared (3)
BuildEventArgsExtension.cs (2)
200if (!String.Equals(args.Subcategory, other.Subcategory, StringComparison.OrdinalIgnoreCase))
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)
43return FormatEventMessage("warning", e.Subcategory, e.Message, 108return FormatEventMessage("warning", e.Subcategory, e.Message, 125return FormatEventMessage("warning", e.Subcategory, e.Message,
MSBuild (5)
EventArgsFormatting.cs (3)
43return FormatEventMessage("warning", e.Subcategory, e.Message, 108return FormatEventMessage("warning", e.Subcategory, e.Message, 125return FormatEventMessage("warning", e.Subcategory, e.Message,
LogMessagePacketBase.cs (1)
931string subCategory = buildWarningEventArgs.Subcategory;
TerminalLogger\TerminalLogger.cs (1)
1127subcategory: e.Subcategory,
MSBuildTaskHost (1)
LogMessagePacketBase.cs (1)
931string subCategory = buildWarningEventArgs.Subcategory;