1 override of Message
Microsoft.Build.Framework (1)
LazyFormattedBuildEventArgs.cs (1)
82
public override string?
Message
21 references to Message
Microsoft.Build (4)
BackEnd\BuildManager\BuildManager.cs (1)
496
Text = buildEvent.
Message
?? string.Empty;
BackEnd\Components\Logging\LoggingService.cs (1)
2192
Assumed.True(projectFile != null || allowCacheMiss, $"ContextID {context.ProjectContextId} should have been in the ID-to-project file mapping but wasn't! Encountered during logging message: '{eventArgs.
Message
}'");
Logging\BinaryLogger\BuildEventArgsWriter.cs (2)
276
e.
Message
,
289
e.
Message
,
Microsoft.Build.Framework (16)
AssemblyReferenceConflictEventArgs.cs (3)
254
/// The warning <see cref="BuildEventArgs.
Message
"/> adds the outer wrapper.
423
/// The <see cref="BuildEventArgs.
Message
"/> is rendered in invariant English from the structured details.
519
/// The <see cref="BuildEventArgs.
Message
"/> is rendered in invariant English from the structured details.
AssemblyResolutionSearchTraceEventArgs.cs (1)
200
/// The <see cref="BuildEventArgs.
Message
"/> is rendered using the invariant culture.
BackEnd\LogMessagePacketBase.cs (1)
467
string message = buildEvent.
Message
;
LazyFormattedBuildEventArgs.cs (8)
92
if (argsOrMessage is object[] arguments && arguments.Length > 0 && base.
Message
is not null)
94
formattedMessage = FormatString(base.
Message
, arguments);
99
return base.
Message
;
117
return argsOrMessage is object[] { Length: > 0 } arguments && base.
Message
is not null
118
? FormatString(base.
Message
, arguments)
119
: base.
Message
;
131
base.WriteToStreamWithExplicitMessage(writer, base.
Message
);
154
base.WriteToStreamWithExplicitMessage(writer, (argsOrMessage is string formattedMessage) ? formattedMessage : base.
Message
);
Utilities\EventArgsFormatting.cs (2)
23
return e.
Message
;
35
_ => e.
Message
Utilities\TaskLoggingHelper.cs (1)
214
ThrowTaskLoggingHelperNotInitialized(eventArgs.
Message
);
NuGet.Build.Tasks (1)
ConsoleOutLogMessage.cs (1)
41
/// <inheritdoc cref="BuildEventArgs.
Message
" />