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)
160internal sealed class BuildCheckResultWarning : BuildWarningEventArgs
ExtendedBuildWarningEventArgs.cs (1)
18public 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 (7)
BackEnd\Components\Logging\LoggingServiceLogMethods.cs (1)
314BuildWarningEventArgs buildEvent = new BuildWarningEventArgs(
BackEnd\Components\RequestBuilder\TaskHost.cs (1)
445BuildWarningEventArgs warningEvent = new BuildWarningEventArgs(
BackEnd\Shared\EventsCreatorHelper.cs (1)
74new BuildWarningEventArgs(
Logging\BinaryLogger\BuildEventArgsReader.cs (1)
940e = new BuildWarningEventArgs(
LogMessagePacketBase.cs (2)
562LoggingEventType.BuildWarningEvent => new BuildWarningEventArgs(null, null, null, -1, -1, -1, -1, null, null, null), 1210new BuildWarningEventArgs(
TaskLoggingHelper.cs (1)
1091var e = new BuildWarningEventArgs(
Microsoft.Build.Engine.UnitTests (21)
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)
714private static readonly BuildWarningEventArgs BuildWarningEventForTreatAsErrorOrMessageTests = new BuildWarningEventArgs("subcategory", "C94A41A90FFB4EF592BF98BA59BEE8AF", "file", 1, 2, 3, 4, "message", "helpKeyword", "senderName"); 794BuildWarningEventArgs warningArgs = new("abc", "FOR123", "", 0, 0, 0, 0, "warning message", "keyword", "sender");
BackEnd\LoggingServicesLogMethod_Tests.cs (2)
69BuildWarningEventArgs warning = new BuildWarningEventArgs("SubCategoryForSchemaValidationErrors", "MSB4000", "file", 1, 2, 3, 4, "message", "help", "sender"); 1728BuildWarningEventArgs buildEvent = new BuildWarningEventArgs(
BackEnd\NodePackets_Tests.cs (2)
56BuildWarningEventArgs warning = new BuildWarningEventArgs("SubCategoryForSchemaValidationErrors", "MSB4000", "file", 1, 2, 3, 4, "message", "help", "sender"); 281new 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)
467es.Consume(new BuildWarningEventArgs(null, null, null, 0, 0, 0, 0, null, null, null)); 500BuildWarningEventArgs bwea = new BuildWarningEventArgs(null, null, null, 0, 0, 0, 0, null, null, null); 667buildEventArgs = new BuildWarningEventArgs(subcategory, code, file, lineNumber, columnNumber, endLineNumber, endColumnNumber, message, helpKeyword, senderName); 866BuildWarningEventArgs beea = new BuildWarningEventArgs("VBC", 1074BuildWarningEventArgs beea = new BuildWarningEventArgs("VBC", 1150BuildWarningEventArgs beea = new BuildWarningEventArgs("VBC", 1955BuildWarningEventArgs bwea = new BuildWarningEventArgs("VBC", 2045BuildWarningEventArgs 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");
TerminalLogger_Tests.cs (2)
215return new BuildWarningEventArgs("", "AA0000", "directory/file", 1, 2, 3, 4, warning, null, null) 223return new BuildWarningEventArgs("", "MSB3026", "directory/file", 1, 2, 3, 4,
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)
1091var 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",
Microsoft.Maui.Resizetizer (1)
AsyncTask.cs (1)
199 var data = new BuildWarningEventArgs(
MSBuild (3)
LogMessagePacketBase.cs (2)
562LoggingEventType.BuildWarningEvent => new BuildWarningEventArgs(null, null, null, -1, -1, -1, -1, null, null, null), 1210new BuildWarningEventArgs(
OutOfProcTaskHostNode.cs (1)
1237BuildWarningEventArgs warning = new BuildWarningEventArgs(
MSBuildTaskHost (3)
LogMessagePacketBase.cs (2)
562LoggingEventType.BuildWarningEvent => new BuildWarningEventArgs(null, null, null, -1, -1, -1, -1, null, null, null), 1210new BuildWarningEventArgs(
OutOfProcTaskHostNode.cs (1)
1237BuildWarningEventArgs 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)
279case BuildWarningEventArgs buildWarningEvent:
BackEnd\Components\Logging\LoggingService.cs (8)
1211BuildWarningEventArgs warningEvent = null; 1215if ((warningEvent = buildEvent as BuildWarningEventArgs) != null && warningEvent.BuildEventContext != null && warningEvent.BuildEventContext.ProjectContextId != BuildEventContext.InvalidProjectContextId) 1540if (buildEventArgs is BuildWarningEventArgs warningEvent) 1929/// <param name="warningEvent">A <see cref="BuildWarningEventArgs"/> that specifies the warning.</param> 1931private bool ShouldTreatWarningAsMessage(BuildWarningEventArgs warningEvent) 1951private bool WarningAsErrorNotOverriden(BuildWarningEventArgs warningEvent) 1961/// <param name="warningEvent">A <see cref="BuildWarningEventArgs"/> that specifies the warning.</param> 1963private bool ShouldTreatWarningAsError(BuildWarningEventArgs warningEvent)
BackEnd\Components\Logging\LoggingServiceLogMethods.cs (1)
314BuildWarningEventArgs buildEvent = new BuildWarningEventArgs(
BackEnd\Components\RequestBuilder\TaskHost.cs (2)
445BuildWarningEventArgs warningEvent = new BuildWarningEventArgs( 478public void LogWarningEvent(Microsoft.Build.Framework.BuildWarningEventArgs e)
BackEnd\Shared\EventsCreatorHelper.cs (2)
60public static BuildWarningEventArgs CreateWarningEventFromText(BuildEventContext buildEventContext, string? subcategoryResourceName, string? errorCode, string? helpKeyword, BuildEventFileInfo file, string message) 73BuildWarningEventArgs buildEvent =
BuildCheck\Infrastructure\BuildCheckManagerProvider.cs (1)
689eventArgs is not BuildWarningEventArgs)
BuildCheck\Infrastructure\CheckContext\CheckDispatchingContext.cs (1)
63BuildWarningEventArgs buildEvent = EventsCreatorHelper.CreateWarningEventFromText(_eventContext, subcategoryResourceName, errorCode, helpKeyword, file, message);
Definition\ProjectCollection.cs (1)
2305private 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)
542this.BuildEngine.LogWarningEvent((BuildWarningEventArgs)logMessagePacket.NodeBuildEvent.Value.Value); 557else 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); 488private BinaryLogRecordKind Write(BuildWarningEventArgs e) 834(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)
Logging\TerminalLogger\TerminalLogger.cs (2)
983private void WarningRaised(object sender, BuildWarningEventArgs e) 1196private string FormatWarningMessage(BuildWarningEventArgs e, string indent)
LogMessagePacketBase.cs (6)
65/// Event is a <see cref="BuildWarningEventArgs"/>. 778else if (eventType == typeof(BuildWarningEventArgs)) 839WriteBuildWarningEventToStream((BuildWarningEventArgs)buildEvent, translator); 852private void WriteBuildWarningEventToStream(BuildWarningEventArgs buildWarningEventArgs, ITranslator translator) 1186private BuildWarningEventArgs ReadBuildWarningEventFromStream(ITranslator translator, string message, string helpKeyword, string senderName) 1209BuildWarningEventArgs buildEvent =
TaskLoggingHelper.cs (1)
1091var e = new BuildWarningEventArgs(
Microsoft.Build.Engine.UnitTests (35)
BackEnd\BuildManager_Logging_Tests.cs (1)
84public void Build_WithCustomBuildArgs_ShouldEmitWarningOnFramework() => Build_WithCustomBuildArgs_ShouldEmitEvent<BuildWarningEventArgs>();
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)
714private static readonly BuildWarningEventArgs BuildWarningEventForTreatAsErrorOrMessageTests = new BuildWarningEventArgs("subcategory", "C94A41A90FFB4EF592BF98BA59BEE8AF", "file", 1, 2, 3, 4, "message", "helpKeyword", "senderName"); 766var actualEvent = logger.Warnings.ShouldHaveSingleItem(); 794BuildWarningEventArgs warningArgs = new("abc", "FOR123", "", 0, 0, 0, 0, "warning message", "keyword", "sender");
BackEnd\LoggingServicesLogMethod_Tests.cs (3)
69BuildWarningEventArgs warning = new BuildWarningEventArgs("SubCategoryForSchemaValidationErrors", "MSB4000", "file", 1, 2, 3, 4, "message", "help", "sender"); 1728BuildWarningEventArgs buildEvent = new BuildWarningEventArgs( 1741Assert.True(buildEvent.IsEquivalent((BuildWarningEventArgs)service.ProcessedBuildEvent));
BackEnd\NodePackets_Tests.cs (1)
56BuildWarningEventArgs warning = new BuildWarningEventArgs("SubCategoryForSchemaValidationErrors", "MSB4000", "file", 1, 2, 3, 4, "message", "help", "sender");
BackEnd\TaskExecutionHost_Tests.cs (1)
1182public 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)
500BuildWarningEventArgs bwea = new BuildWarningEventArgs(null, null, null, 0, 0, 0, 0, null, null, null); 866BuildWarningEventArgs beea = new BuildWarningEventArgs("VBC", 1074BuildWarningEventArgs beea = new BuildWarningEventArgs("VBC", 1150BuildWarningEventArgs beea = new BuildWarningEventArgs("VBC", 1955BuildWarningEventArgs bwea = new BuildWarningEventArgs("VBC", 2045BuildWarningEventArgs bwea = new BuildWarningEventArgs("VBC",
Construction\SolutionProjectGenerator_Tests.cs (2)
349BuildWarningEventArgs warning = logger.Warnings[0]; 2121BuildWarningEventArgs 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");
TerminalLogger_Tests.cs (2)
213private BuildWarningEventArgs MakeWarningEventArgs(string warning) 221private BuildWarningEventArgs MakeCopyRetryWarning(int retryCount)
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)
1091var 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)
Microsoft.Maui.Resizetizer (2)
AsyncTask.cs (2)
199 var data = new BuildWarningEventArgs( 314 LogInternal<BuildWarningEventArgs>(warningMessageQueue, (e) =>
MSBuild (10)
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)
778else if (eventType == typeof(BuildWarningEventArgs)) 839WriteBuildWarningEventToStream((BuildWarningEventArgs)buildEvent, translator); 852private void WriteBuildWarningEventToStream(BuildWarningEventArgs buildWarningEventArgs, ITranslator translator) 1186private BuildWarningEventArgs ReadBuildWarningEventFromStream(ITranslator translator, string message, string helpKeyword, string senderName) 1209BuildWarningEventArgs buildEvent =
OutOfProcTaskHostNode.cs (2)
329public void LogWarningEvent(BuildWarningEventArgs e) 1237BuildWarningEventArgs warning = new BuildWarningEventArgs(
MSBuildTaskHost (7)
LogMessagePacketBase.cs (5)
778else if (eventType == typeof(BuildWarningEventArgs)) 839WriteBuildWarningEventToStream((BuildWarningEventArgs)buildEvent, translator); 852private void WriteBuildWarningEventToStream(BuildWarningEventArgs buildWarningEventArgs, ITranslator translator) 1186private BuildWarningEventArgs ReadBuildWarningEventFromStream(ITranslator translator, string message, string helpKeyword, string senderName) 1209BuildWarningEventArgs buildEvent =
OutOfProcTaskHostNode.cs (2)
329public void LogWarningEvent(BuildWarningEventArgs e) 1237BuildWarningEventArgs warning = new BuildWarningEventArgs(