21 writes to RawMessage
Microsoft.Build.Engine.UnitTests (1)
BackEnd\CustomBuildEventTask.cs (1)
16
MyCustomBuildEventArgs customBuildEvent = new() {
RawMessage
= "A message from MyCustomBuildEventArgs" };
Microsoft.Build.Framework (20)
AssemblyLoadBuildEventArgs.cs (1)
86
RawMessage
= FormatResourceStringIgnoreCodeAndKeyword(resourceName, LoadingContext.ToString(), loadingInitiator, AssemblyName, AssemblyPath, MVID.ToString(), AppDomainDescriptor ?? DefaultAppDomainDescriptor);
BuildCheck\BuildCheckEventArgs.cs (7)
177
RawMessage
= result.FormatMessage();
192
RawMessage
= reader.ReadString();
200
=>
RawMessage
= result.FormatMessage();
215
RawMessage
= reader.ReadString();
223
=>
RawMessage
= result.FormatMessage();
225
internal BuildCheckResultMessage(string formattedMessage) =>
RawMessage
= formattedMessage;
240
RawMessage
= reader.ReadString();
ProjectFinishedEventArgs.cs (1)
115
RawMessage
= FormatResourceStringIgnoreCodeAndKeyword(Succeeded ? "ProjectFinishedSuccess" : "ProjectFinishedFailure", Path.GetFileName(ProjectFile));
ProjectStartedEventArgs.cs (2)
550
RawMessage
= FormatResourceStringIgnoreCodeAndKeyword("ProjectStartedPrefixForTopLevelProjectWithTargetNames", projectFilePath, TargetNames!);
554
RawMessage
= FormatResourceStringIgnoreCodeAndKeyword("ProjectStartedPrefixForTopLevelProjectWithDefaultTargets", projectFilePath);
PropertyReassignmentEventArgs.cs (1)
78
RawMessage
= FormatResourceStringIgnoreCodeAndKeyword("PropertyReassignment", PropertyName, NewValue, PreviousValue, Location);
TargetFinishedEventArgs.cs (1)
182
RawMessage
= FormatResourceStringIgnoreCodeAndKeyword(Succeeded ? "TargetFinishedSuccess" : "TargetFinishedFailure", targetName, Path.GetFileName(projectFile));
TargetSkippedEventArgs.cs (1)
160
RawMessage
= SkipReason switch
TargetStartedEventArgs.cs (4)
185
RawMessage
= FormatResourceStringIgnoreCodeAndKeyword("TargetStartedProjectDepends", targetName, projectFile, parentTarget);
189
RawMessage
= FormatResourceStringIgnoreCodeAndKeyword("TargetStartedProjectEntry", targetName, projectFile);
196
RawMessage
= FormatResourceStringIgnoreCodeAndKeyword("TargetStartedFileProjectDepends", targetName, targetFile, projectFile, parentTarget);
200
RawMessage
= FormatResourceStringIgnoreCodeAndKeyword("TargetStartedFileProjectEntry", targetName, targetFile, projectFile);
TaskFinishedEventArgs.cs (1)
145
RawMessage
= FormatResourceStringIgnoreCodeAndKeyword(Succeeded ? "TaskFinishedSuccess" : "TaskFinishedFailure", TaskName);
TaskStartedEventArgs.cs (1)
199
RawMessage
= FormatResourceStringIgnoreCodeAndKeyword("TaskStarted", TaskName);
26 references to RawMessage
Microsoft.Build (1)
Logging\BinaryLogger\BuildEventArgsWriter.cs (1)
652
WriteDeduplicatedString(e.
RawMessage
);
Microsoft.Build.Framework (23)
AssemblyLoadBuildEventArgs.cs (2)
78
if (
RawMessage
== null)
89
return
RawMessage
;
BuildCheck\BuildCheckEventArgs.cs (3)
185
writer.Write(
RawMessage
!);
208
writer.Write(
RawMessage
!);
233
writer.Write(
RawMessage
!);
BuildEventArgs.cs (2)
151
/// Like <see cref="
RawMessage
"/> but returns a formatted message string if available.
200
WriteToStreamWithExplicitMessage(writer,
RawMessage
);
ProjectFinishedEventArgs.cs (2)
113
if (
RawMessage
== null)
118
return
RawMessage
;
ProjectStartedEventArgs.cs (2)
541
if (
RawMessage
== null)
558
return
RawMessage
;
PropertyReassignmentEventArgs.cs (2)
76
if (
RawMessage
== null)
81
return
RawMessage
;
TargetFinishedEventArgs.cs (2)
180
if (
RawMessage
== null)
185
return
RawMessage
;
TargetSkippedEventArgs.cs (2)
158
if (
RawMessage
== null)
185
return
RawMessage
;
TargetStartedEventArgs.cs (2)
179
if (
RawMessage
== null)
205
return
RawMessage
;
TaskFinishedEventArgs.cs (2)
143
if (
RawMessage
== null)
148
return
RawMessage
;
TaskStartedEventArgs.cs (2)
197
if (
RawMessage
== null)
202
return
RawMessage
;
Microsoft.Build.Tasks.UnitTests (2)
MSBuildInternalMessage_Tests.cs (2)
54
logger.Warnings[0].
RawMessage
.ShouldBe(expectedBuildMessage);
58
logger.Errors[0].
RawMessage
.ShouldBe(expectedBuildMessage);