19 references to ExtractMessageCode
Microsoft.Build.Tasks.Core (1)
AssemblyDependency\ResolveAssemblyReference.cs (1)
1717
string warningCode = Log.
ExtractMessageCode
(message, out string messageOnly);
Microsoft.Build.Utilities.UnitTests (11)
TaskLoggingHelper_Tests.cs (11)
26
string code = t.Log.
ExtractMessageCode
("AL001: This is a message.", out messageOnly);
31
code = t.Log.
ExtractMessageCode
(" AL001: This is a message.", out messageOnly);
36
code = t.Log.
ExtractMessageCode
("AL001 : This is a message.", out messageOnly);
41
code = t.Log.
ExtractMessageCode
(" RESGEN7905001: This is a message.", out messageOnly);
46
code = t.Log.
ExtractMessageCode
("R7: This is a message.", out messageOnly);
51
code = t.Log.
ExtractMessageCode
("alink3456: This is a message.", out messageOnly);
56
code = t.Log.
ExtractMessageCode
(" RES 7905: This is a message.", out messageOnly);
61
code = t.Log.
ExtractMessageCode
("7905: This is a message.", out messageOnly);
66
code = t.Log.
ExtractMessageCode
("ALINK: This is a message.", out messageOnly);
71
code = t.Log.
ExtractMessageCode
("6780ALINK: This is a message.", out messageOnly);
76
code = t.Log.
ExtractMessageCode
("LNK658A: This is a message.", out messageOnly);
PresentationBuildTasks (7)
Microsoft\Build\Tasks\Windows\FileClassifier.cs (1)
119
errorId = Log.
ExtractMessageCode
(e.Message, out message);
Microsoft\Build\Tasks\Windows\MarkupCompilePass1.cs (1)
197
errorId = Log.
ExtractMessageCode
(e.Message, out message);
Microsoft\Build\Tasks\Windows\MarkupCompilePass2.cs (1)
148
errorId = Log.
ExtractMessageCode
(e.Message, out message);
Microsoft\Build\Tasks\Windows\ResourcesGenerator.cs (1)
218
string errorId = Log.
ExtractMessageCode
(e.Message, out message);
Microsoft\Build\Tasks\Windows\UidManager.cs (1)
113
errorId = Log.
ExtractMessageCode
(e.Message, out message);
MS\Internal\Tasks\CompilerWrapper.cs (2)
303
strErrorCode = _taskLogger.
ExtractMessageCode
(message, out errorText);
311
strErrorCode = _taskLogger.
ExtractMessageCode
(message, out errorText);