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