5 types derived from BuildWarningEventArgs
Microsoft.Build.Engine.UnitTests (2)
BackEnd\TaskHost_Tests.cs (2)
947internal sealed class MyCustomBuildWarningEventArgs : BuildWarningEventArgs 1077internal sealed class MyCustomBuildWarningEventArgsNotSerializable : BuildWarningEventArgs
Microsoft.Build.Framework (2)
BuildCheck\BuildCheckEventArgs.cs (1)
173internal sealed class BuildCheckResultWarning : BuildWarningEventArgs
ExtendedBuildWarningEventArgs.cs (1)
15public sealed class ExtendedBuildWarningEventArgs : BuildWarningEventArgs, IExtendedBuildEventArgs
Microsoft.Build.Framework.UnitTests (1)
BuildWarningEventArgs_Tests.cs (1)
53private sealed class BuildWarningEventArgs2 : BuildWarningEventArgs
55 instantiations of BuildWarningEventArgs
Microsoft.Build (8)
BackEnd\Components\Logging\LoggingService.cs (1)
998BuildWarningEventArgs warning = new(
BackEnd\Components\Logging\LoggingServiceLogMethods.cs (1)
314BuildWarningEventArgs buildEvent = new BuildWarningEventArgs(
BackEnd\Components\RequestBuilder\TaskHost.cs (1)
444BuildWarningEventArgs warningEvent = new BuildWarningEventArgs(
BackEnd\Shared\EventsCreatorHelper.cs (1)
78new BuildWarningEventArgs(
Logging\BinaryLogger\BuildEventArgsReader.cs (1)
940e = new BuildWarningEventArgs(
LogMessagePacketBase.cs (2)
626LoggingEventType.BuildWarningEvent => new BuildWarningEventArgs(null, null, null, -1, -1, -1, -1, null, null, null), 1269new BuildWarningEventArgs(
TaskLoggingHelper.cs (1)
1088var e = new BuildWarningEventArgs(
Microsoft.Build.CommandLine.UnitTests (2)
TerminalLogger_Tests.cs (2)
184return new BuildWarningEventArgs("", "AA0000", "directory/file", 1, 2, 3, 4, warning, null, null) 192return new BuildWarningEventArgs("", "MSB3026", "directory/file", 1, 2, 3, 4,
Microsoft.Build.Engine.UnitTests (19)
BackEnd\EventSourceSink_Tests.cs (1)
757private static BuildWarningEventArgs s_buildWarning = new BuildWarningEventArgs("SubCategoryForSchemaValidationErrors", "MSB4000", "file", 1, 2, 3, 4, "message", "help", "sender")
BackEnd\LoggingService_Tests.cs (2)
715private static readonly BuildWarningEventArgs BuildWarningEventForTreatAsErrorOrMessageTests = new BuildWarningEventArgs("subcategory", "C94A41A90FFB4EF592BF98BA59BEE8AF", "file", 1, 2, 3, 4, "message", "helpKeyword", "senderName"); 795BuildWarningEventArgs warningArgs = new("abc", "FOR123", "", 0, 0, 0, 0, "warning message", "keyword", "sender");
BackEnd\LoggingServicesLogMethod_Tests.cs (2)
70BuildWarningEventArgs warning = new BuildWarningEventArgs("SubCategoryForSchemaValidationErrors", "MSB4000", "file", 1, 2, 3, 4, "message", "help", "sender"); 1729BuildWarningEventArgs buildEvent = new BuildWarningEventArgs(
BackEnd\NodePackets_Tests.cs (2)
55BuildWarningEventArgs warning = new BuildWarningEventArgs("SubCategoryForSchemaValidationErrors", "MSB4000", "file", 1, 2, 3, 4, "message", "help", "sender"); 278new BuildWarningEventArgs("SubCategoryForSchemaValidationErrors", "MSB4000", "file", 1, 2, 3, 4, "message", "help", "sender"),
BackEnd\TaskHost_Tests.cs (1)
295_taskHost.LogWarningEvent(new BuildWarningEventArgs("SubCategory", "code", null, 0, 1, 2, 3, "message", "Help", "Sender"));
BuildEventArgsSerialization_Tests.cs (1)
370var args = new BuildWarningEventArgs(
ConfigureableForwardingLogger_Tests.cs (1)
27private readonly BuildWarningEventArgs _warning = new BuildWarningEventArgs("SubCategoryForSchemaValidationErrors", "MSB4000", "file", 1, 2, 3, 4, "message", "help", "sender");
ConsoleLogger_Tests.cs (8)
469es.Consume(new BuildWarningEventArgs(null, null, null, 0, 0, 0, 0, null, null, null)); 502BuildWarningEventArgs bwea = new BuildWarningEventArgs(null, null, null, 0, 0, 0, 0, null, null, null); 669buildEventArgs = new BuildWarningEventArgs(subcategory, code, file, lineNumber, columnNumber, endLineNumber, endColumnNumber, message, helpKeyword, senderName); 868BuildWarningEventArgs beea = new BuildWarningEventArgs("VBC", 1076BuildWarningEventArgs beea = new BuildWarningEventArgs("VBC", 1152BuildWarningEventArgs beea = new BuildWarningEventArgs("VBC", 1957BuildWarningEventArgs bwea = new BuildWarningEventArgs("VBC", 2047BuildWarningEventArgs bwea = new BuildWarningEventArgs("VBC",
EventArgsFormatting_Tests.cs (1)
111BuildWarningEventArgs warning = new BuildWarningEventArgs("CS", "312", "source.cs", 42, 0, 0, 0, "message\r Hello", "help", "sender");
Microsoft.Build.Framework.UnitTests (17)
BuildWarningEventArgs_Tests.cs (9)
21private BuildWarningEventArgs _baseWarningEvent = new BuildWarningEventArgs("Subcategory", "Code", "File", 1, 2, 3, 4, "Message", "HelpKeyword", "sender"); 30buildWarningEvent = new BuildWarningEventArgs("Subcategory", "Code", "File", 1, 2, 3, 4, "Message", "HelpKeyword", "sender"); 31buildWarningEvent = new BuildWarningEventArgs("Subcategory", "Code", "File", 1, 2, 3, 4, "Message", "HelpKeyword", "sender", DateTime.Now); 32buildWarningEvent = new BuildWarningEventArgs("Subcategory", "Code", "File", 1, 2, 3, 4, "{0}", "HelpKeyword", "sender", DateTime.Now, "Message"); 33buildWarningEvent = new BuildWarningEventArgs("Subcategory", "Code", "File", 1, 2, 3, 4, "{0}", "HelpKeyword", "sender", "HelpLink", DateTime.Now, "Message"); 34buildWarningEvent = new BuildWarningEventArgs(null, null, null, 1, 2, 3, 4, null, null, null); 35buildWarningEvent = new BuildWarningEventArgs(null, null, null, 1, 2, 3, 4, null, null, null, DateTime.Now); 36buildWarningEvent = new BuildWarningEventArgs(null, null, null, 1, 2, 3, 4, null, null, null, DateTime.Now, null); 37buildWarningEvent = new BuildWarningEventArgs(null, null, null, 1, 2, 3, 4, null, null, null, null, DateTime.Now, null);
CustomEventArgSerialization_Tests.cs (8)
437BuildWarningEventArgs genericEvent = new BuildWarningEventArgs("Subcategory", "Code", "File", 1, 2, 3, 4, "Message", "HelpKeyword", "SenderName"); 446BuildWarningEventArgs newGenericEvent = new BuildWarningEventArgs(null, null, null, -1, -1, -1, -1, null, null, null); 454genericEvent = new BuildWarningEventArgs(string.Empty, string.Empty, string.Empty, 1, 2, 3, 4, string.Empty, string.Empty, string.Empty); 463newGenericEvent = new BuildWarningEventArgs(null, null, null, -1, -1, -1, -1, null, null, null); 471genericEvent = new BuildWarningEventArgs(null, null, null, 1, 2, 3, 4, null, null, null); 480newGenericEvent = new BuildWarningEventArgs("Something", "SomeThing", "SomeThing", -1, -1, -1, -1, "Something", "SomeThing", "Something"); 488genericEvent = new BuildWarningEventArgs("Subcategory", "Code", "File", 1, 2, 3, 4, "Message", "HelpKeyword", "SenderName", "HelpLink", DateTime.Now, null); 497newGenericEvent = new BuildWarningEventArgs("Something", "SomeThing", "SomeThing", -1, -1, -1, -1, "Something", "SomeThing", "Something");
Microsoft.Build.Utilities.Core (1)
TaskLoggingHelper.cs (1)
1088var e = new BuildWarningEventArgs(
Microsoft.Build.Utilities.UnitTests (2)
EventArgsFormatting_Tests.cs (2)
99BuildWarningEventArgs warning = new BuildWarningEventArgs("CS", "312", "source.cs", 42, 0, 0, 0, "message\r Hello", "help", "sender"); 148BuildWarningEventArgs bwea = new BuildWarningEventArgs("VBC",
MSBuild (3)
LogMessagePacketBase.cs (2)
626LoggingEventType.BuildWarningEvent => new BuildWarningEventArgs(null, null, null, -1, -1, -1, -1, null, null, null), 1269new BuildWarningEventArgs(
OutOfProcTaskHostNode.cs (1)
1227BuildWarningEventArgs warning = new BuildWarningEventArgs(
MSBuildTaskHost (3)
LogMessagePacketBase.cs (2)
626LoggingEventType.BuildWarningEvent => new BuildWarningEventArgs(null, null, null, -1, -1, -1, -1, null, null, null), 1269new BuildWarningEventArgs(
OutOfProcTaskHostNode.cs (1)
1227BuildWarningEventArgs warning = new BuildWarningEventArgs(
149 references to BuildWarningEventArgs
Microsoft.Arcade.Test.Common (6)
MockBuildEngine.cs (3)
24public List<BuildWarningEventArgs> BuildWarningEvents = new List<BuildWarningEventArgs>(); 46public void LogWarningEvent(BuildWarningEventArgs e)
MockEngine.cs (3)
28public ICollection<BuildWarningEventArgs> Warnings { get; } = new List<BuildWarningEventArgs>(); 47public void LogWarningEvent(BuildWarningEventArgs e)
Microsoft.Build (47)
BackEnd\Components\Logging\EventSourceSink.cs (1)
275case BuildWarningEventArgs buildWarningEvent:
BackEnd\Components\Logging\LoggingService.cs (10)
998BuildWarningEventArgs warning = new( 1017BuildWarningEventArgs buildWarningEvent => buildWarningEvent.ProjectFile, 1249BuildWarningEventArgs warningEvent = null; 1253if ((warningEvent = buildEvent as BuildWarningEventArgs) != null && warningEvent.BuildEventContext != null && warningEvent.BuildEventContext.ProjectContextId != BuildEventContext.InvalidProjectContextId) 1560if (buildEventArgs is BuildWarningEventArgs warningEvent) 1946/// <param name="warningEvent">A <see cref="BuildWarningEventArgs"/> that specifies the warning.</param> 1948private bool ShouldTreatWarningAsMessage(BuildWarningEventArgs warningEvent) 1968private bool WarningAsErrorNotOverriden(BuildWarningEventArgs warningEvent) 1978/// <param name="warningEvent">A <see cref="BuildWarningEventArgs"/> that specifies the warning.</param> 1980private bool ShouldTreatWarningAsError(BuildWarningEventArgs warningEvent)
BackEnd\Components\Logging\LoggingServiceLogMethods.cs (1)
314BuildWarningEventArgs buildEvent = new BuildWarningEventArgs(
BackEnd\Components\RequestBuilder\TaskHost.cs (2)
444BuildWarningEventArgs warningEvent = new BuildWarningEventArgs( 477public void LogWarningEvent(Microsoft.Build.Framework.BuildWarningEventArgs e)
BackEnd\Shared\EventsCreatorHelper.cs (2)
64public static BuildWarningEventArgs CreateWarningEventFromText(BuildEventContext buildEventContext, string? subcategoryResourceName, string? errorCode, string? helpKeyword, BuildEventFileInfo file, string message) 77BuildWarningEventArgs buildEvent =
BuildCheck\Infrastructure\BuildCheckManagerProvider.cs (1)
608eventArgs is not BuildWarningEventArgs)
BuildCheck\Infrastructure\CheckContext\CheckDispatchingContext.cs (1)
68BuildWarningEventArgs buildEvent = EventsCreatorHelper.CreateWarningEventFromText(_eventContext, subcategoryResourceName, errorCode, helpKeyword, file, message);
Definition\ProjectCollection.cs (1)
2300private void WarningRaisedHandler(object sender, BuildWarningEventArgs e)
EventArgsFormatting.cs (3)
41internal static string FormatEventMessage(BuildWarningEventArgs e, bool showProjectFile, string projectConfigurationDescription) 103internal static string FormatEventMessage(BuildWarningEventArgs e) 120internal static string FormatEventMessage(BuildWarningEventArgs e, bool showProjectFile)
Instance\TaskFactories\TaskHostTask.cs (2)
530this.BuildEngine.LogWarningEvent((BuildWarningEventArgs)logMessagePacket.NodeBuildEvent.Value.Value); 545else if (buildEvent is BuildWarningEventArgs buildWarningEventArgs)
Instance\TaskFactoryLoggingHost.cs (1)
176public void LogWarningEvent(Microsoft.Build.Framework.BuildWarningEventArgs e)
Logging\BaseConsoleLogger.cs (2)
1063public abstract void WarningHandler(object sender, BuildWarningEventArgs e); 1179internal List<BuildWarningEventArgs> warningList;
Logging\BinaryLogger\BuildEventArgsWriter.cs (3)
213case BuildWarningEventArgs buildWarning: return Write(buildWarning); 509private BinaryLogRecordKind Write(BuildWarningEventArgs e) 854(BuildMessageEventArgs or BuildWarningEventArgs or BuildErrorEventArgs))
Logging\BinaryLogger\EventArgsDispatcher.cs (1)
153else if (buildEvent is BuildWarningEventArgs buildWarningEventArgs)
Logging\ConsoleLogger.cs (1)
486public void WarningHandler(object sender, BuildWarningEventArgs e)
Logging\ParallelLogger\ParallelConsoleLogger.cs (4)
191warningList = new List<BuildWarningEventArgs>(); 368foreach (BuildWarningEventArgs warning in warningList) 498else if (errorWarningEvent is BuildWarningEventArgs buildWarningEventArgs) 1072public override void WarningHandler(object sender, BuildWarningEventArgs e)
Logging\SerialConsoleLogger.cs (3)
77warningList = new List<BuildWarningEventArgs>(); 201foreach (BuildWarningEventArgs warningEventArgs in warningList) 489public override void WarningHandler(object sender, BuildWarningEventArgs e)
Logging\SimpleErrorLogger.cs (1)
63private void HandleWarningEvent(object sender, BuildWarningEventArgs e)
LogMessagePacketBase.cs (6)
69/// Event is a <see cref="BuildWarningEventArgs"/>. 837else if (eventType == typeof(BuildWarningEventArgs)) 898WriteBuildWarningEventToStream((BuildWarningEventArgs)buildEvent, translator); 911private void WriteBuildWarningEventToStream(BuildWarningEventArgs buildWarningEventArgs, ITranslator translator) 1245private BuildWarningEventArgs ReadBuildWarningEventFromStream(ITranslator translator, string message, string helpKeyword, string senderName) 1268BuildWarningEventArgs buildEvent =
TaskLoggingHelper.cs (1)
1088var e = new BuildWarningEventArgs(
Microsoft.Build.CommandLine.UnitTests (2)
TerminalLogger_Tests.cs (2)
182private BuildWarningEventArgs MakeWarningEventArgs(string warning) 190private BuildWarningEventArgs MakeCopyRetryWarning(int retryCount)
Microsoft.Build.Engine.UnitTests (33)
BackEnd\BuildManager_Logging_Tests.cs (1)
93TestCustomEventWarning<BuildWarningEventArgs>(envVariableValue, isWarningExpected);
BackEnd\EventSourceSink_Tests.cs (3)
549private void Source_WarningRaised(object sender, BuildWarningEventArgs e) 757private static BuildWarningEventArgs s_buildWarning = new BuildWarningEventArgs("SubCategoryForSchemaValidationErrors", "MSB4000", "file", 1, 2, 3, 4, "message", "help", "sender") 923internal static BuildWarningEventArgs Warning
BackEnd\LoggingService_Tests.cs (3)
715private static readonly BuildWarningEventArgs BuildWarningEventForTreatAsErrorOrMessageTests = new BuildWarningEventArgs("subcategory", "C94A41A90FFB4EF592BF98BA59BEE8AF", "file", 1, 2, 3, 4, "message", "helpKeyword", "senderName"); 767var actualEvent = logger.Warnings.ShouldHaveSingleItem(); 795BuildWarningEventArgs warningArgs = new("abc", "FOR123", "", 0, 0, 0, 0, "warning message", "keyword", "sender");
BackEnd\LoggingServicesLogMethod_Tests.cs (3)
70BuildWarningEventArgs warning = new BuildWarningEventArgs("SubCategoryForSchemaValidationErrors", "MSB4000", "file", 1, 2, 3, 4, "message", "help", "sender"); 1729BuildWarningEventArgs buildEvent = new BuildWarningEventArgs( 1742Assert.True(buildEvent.IsEquivalent((BuildWarningEventArgs)service.ProcessedBuildEvent));
BackEnd\NodePackets_Tests.cs (1)
55BuildWarningEventArgs warning = new BuildWarningEventArgs("SubCategoryForSchemaValidationErrors", "MSB4000", "file", 1, 2, 3, 4, "message", "help", "sender");
BackEnd\TaskExecutionHost_Tests.cs (1)
1183public void LogWarningEvent(BuildWarningEventArgs e)
BackEnd\TaskHost_Tests.cs (9)
213Assert.True(_customLogger.LastWarning is BuildWarningEventArgs); // "Expected Warning Event" 298Assert.True(_customLogger.LastWarning is BuildWarningEventArgs); // "Expected Warning Event" 458Assert.True(_customLogger.LastWarning is BuildWarningEventArgs); // "Expected Warning Event" 476Assert.True(_customLogger.LastWarning is BuildWarningEventArgs); // "Expected Warning Event" 496Assert.True(_customLogger.LastWarning is BuildWarningEventArgs); // "Expected Warning Event" 517Assert.True(_customLogger.LastWarning is BuildWarningEventArgs); // "Expected Warning Event" 1123private BuildWarningEventArgs _lastWarning = null; 1167public BuildWarningEventArgs LastWarning 1303internal void MyCustomWarningHandler(object s, BuildWarningEventArgs e)
BuildEventArgsSerialization_Tests.cs (1)
370var args = new BuildWarningEventArgs(
ConfigureableForwardingLogger_Tests.cs (1)
27private readonly BuildWarningEventArgs _warning = new BuildWarningEventArgs("SubCategoryForSchemaValidationErrors", "MSB4000", "file", 1, 2, 3, 4, "message", "help", "sender");
ConsoleLogger_Tests.cs (6)
502BuildWarningEventArgs bwea = new BuildWarningEventArgs(null, null, null, 0, 0, 0, 0, null, null, null); 868BuildWarningEventArgs beea = new BuildWarningEventArgs("VBC", 1076BuildWarningEventArgs beea = new BuildWarningEventArgs("VBC", 1152BuildWarningEventArgs beea = new BuildWarningEventArgs("VBC", 1957BuildWarningEventArgs bwea = new BuildWarningEventArgs("VBC", 2047BuildWarningEventArgs bwea = new BuildWarningEventArgs("VBC",
Construction\SolutionProjectGenerator_Tests.cs (2)
320BuildWarningEventArgs warning = logger.Warnings[0]; 2046BuildWarningEventArgs warning = logger.Warnings[0];
EventArgsFormatting_Tests.cs (1)
111BuildWarningEventArgs warning = new BuildWarningEventArgs("CS", "312", "source.cs", 42, 0, 0, 0, "message\r Hello", "help", "sender");
WarningsAsMessagesAndErrors_Tests.cs (1)
235BuildWarningEventArgs actualEvent = logger.Warnings.FirstOrDefault();
Microsoft.Build.Framework (2)
IBuildEngine.cs (1)
30void LogWarningEvent(BuildWarningEventArgs e);
IEventSource.cs (1)
23public delegate void BuildWarningEventHandler(object sender, BuildWarningEventArgs e);
Microsoft.Build.Framework.UnitTests (6)
BuildWarningEventArgs_Tests.cs (2)
21private BuildWarningEventArgs _baseWarningEvent = new BuildWarningEventArgs("Subcategory", "Code", "File", 1, 2, 3, 4, "Message", "HelpKeyword", "sender"); 29BuildWarningEventArgs buildWarningEvent = new BuildWarningEventArgs2();
CustomEventArgSerialization_Tests.cs (4)
437BuildWarningEventArgs genericEvent = new BuildWarningEventArgs("Subcategory", "Code", "File", 1, 2, 3, 4, "Message", "HelpKeyword", "SenderName"); 446BuildWarningEventArgs newGenericEvent = new BuildWarningEventArgs(null, null, null, -1, -1, -1, -1, null, null, null); 507private static void VerifyBuildWarningEventArgs(BuildWarningEventArgs genericEvent, BuildWarningEventArgs newGenericEvent)
Microsoft.Build.Tasks.CodeAnalysis.UnitTests (3)
TestUtilities\ErrorLoggerEngine.cs (2)
31new Type[] { typeof(BuildWarningEventArgs) }, null) ?? throw new Exception("Could not find FormatEventMessage(BuildWarningEventArgs)."); 46public void LogWarningEvent(BuildWarningEventArgs eventArgs)
TestUtilities\MockEngine.cs (1)
34public void LogWarningEvent(BuildWarningEventArgs eventArgs)
Microsoft.Build.UnitTests.Shared (9)
BuildEventArgsExtension.cs (2)
168public static bool IsEquivalent(this BuildWarningEventArgs args, BuildWarningEventArgs other)
MockEngine.cs (4)
44private readonly ConcurrentQueue<BuildWarningEventArgs> _warningEvents = new ConcurrentQueue<BuildWarningEventArgs>(); 59public BuildWarningEventArgs[] WarningEvents => _warningEvents.ToArray(); 106public void LogWarningEvent(BuildWarningEventArgs eventArgs)
MockLogger.cs (3)
69public List<BuildWarningEventArgs> Warnings { get; } = new List<BuildWarningEventArgs>(); 280case BuildWarningEventArgs w:
Microsoft.Build.Utilities.Core (7)
EventArgsFormatting.cs (3)
41internal static string FormatEventMessage(BuildWarningEventArgs e, bool showProjectFile, string projectConfigurationDescription) 103internal static string FormatEventMessage(BuildWarningEventArgs e) 120internal static string FormatEventMessage(BuildWarningEventArgs e, bool showProjectFile)
Logger.cs (1)
55public virtual string FormatWarningEvent(BuildWarningEventArgs args) => EventArgsFormatting.FormatEventMessage(args);
MuxLogger.cs (2)
713private void RaiseWarningEvent(object sender, BuildWarningEventArgs buildEvent) 1209bool eventIsErrorOrWarning = (buildEvent is BuildWarningEventArgs) || (buildEvent is BuildErrorEventArgs);
TaskLoggingHelper.cs (1)
1088var e = new BuildWarningEventArgs(
Microsoft.Build.Utilities.UnitTests (5)
EventArgsFormatting_Tests.cs (3)
99BuildWarningEventArgs warning = new BuildWarningEventArgs("CS", "312", "source.cs", 42, 0, 0, 0, "message\r Hello", "help", "sender"); 148BuildWarningEventArgs bwea = new BuildWarningEventArgs("VBC", 177BuildWarningEventArgs bwea = null;
MockEngine.cs (1)
51public void LogWarningEvent(BuildWarningEventArgs eventArgs)
TrackedDependencies\MockEngine.cs (1)
56public void LogWarningEvent(BuildWarningEventArgs eventArgs)
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (1)
MSBuild\Logging\MSBuildDiagnosticLogger.cs (1)
31private void OnWarningRaised(object sender, MSB.Framework.BuildWarningEventArgs e)
Microsoft.DotNet.ArcadeLogging (1)
PipelinesLogger.cs (1)
197private void OnWarningRaised(object sender, BuildWarningEventArgs e) =>
Microsoft.DotNet.Build.Tasks.Packaging.Tests (1)
TestBuildEngine.cs (1)
51public void LogWarningEvent(BuildWarningEventArgs e)
Microsoft.DotNet.NuGetRepack.Tests (3)
TestHelpers\FakeBuildEngine.cs (3)
23public List<BuildWarningEventArgs> LogWarningEvents = 24new List<BuildWarningEventArgs>(); 63public void LogWarningEvent(BuildWarningEventArgs e)
Microsoft.DotNet.SignTool.Tests (3)
FakeBuildEngine.cs (3)
25public List<BuildWarningEventArgs> LogWarningEvents = 26new List<BuildWarningEventArgs>(); 115public void LogWarningEvent(BuildWarningEventArgs e)
Microsoft.Extensions.ApiDescription.Client.Tests (1)
MockBuildEngine.cs (1)
72public void LogWarningEvent(BuildWarningEventArgs eventArgs)
MSBuild (12)
EventArgsFormatting.cs (3)
41internal static string FormatEventMessage(BuildWarningEventArgs e, bool showProjectFile, string projectConfigurationDescription) 103internal static string FormatEventMessage(BuildWarningEventArgs e) 120internal static string FormatEventMessage(BuildWarningEventArgs e, bool showProjectFile)
LogMessagePacketBase.cs (5)
837else if (eventType == typeof(BuildWarningEventArgs)) 898WriteBuildWarningEventToStream((BuildWarningEventArgs)buildEvent, translator); 911private void WriteBuildWarningEventToStream(BuildWarningEventArgs buildWarningEventArgs, ITranslator translator) 1245private BuildWarningEventArgs ReadBuildWarningEventFromStream(ITranslator translator, string message, string helpKeyword, string senderName) 1268BuildWarningEventArgs buildEvent =
OutOfProcTaskHostNode.cs (2)
330public void LogWarningEvent(BuildWarningEventArgs e) 1227BuildWarningEventArgs warning = new BuildWarningEventArgs(
TerminalLogger\TerminalLogger.cs (2)
924private void WarningRaised(object sender, BuildWarningEventArgs e) 1123private string FormatWarningMessage(BuildWarningEventArgs e, string indent)
MSBuildTaskHost (7)
LogMessagePacketBase.cs (5)
837else if (eventType == typeof(BuildWarningEventArgs)) 898WriteBuildWarningEventToStream((BuildWarningEventArgs)buildEvent, translator); 911private void WriteBuildWarningEventToStream(BuildWarningEventArgs buildWarningEventArgs, ITranslator translator) 1245private BuildWarningEventArgs ReadBuildWarningEventFromStream(ITranslator translator, string message, string helpKeyword, string senderName) 1268BuildWarningEventArgs buildEvent =
OutOfProcTaskHostNode.cs (2)
330public void LogWarningEvent(BuildWarningEventArgs e) 1227BuildWarningEventArgs warning = new BuildWarningEventArgs(