[xbuild] ToolTask - make error column check a little non-specific.
[mono.git] / mcs / class / Microsoft.Build.Utilities / Microsoft.Build.Utilities / ToolTask.cs
index 4e88792a64963aa182faccdd1dc9602a1af1462a..4094c122e3b9e9afc86574ece4e1ea98afbd9cb9 100644 (file)
@@ -258,7 +258,7 @@ namespace Microsoft.Build.Utilities
                        string col = match.Result ("${column}");
                        int columnNumber = 0;
                        if (!string.IsNullOrEmpty (col))
-                               columnNumber = col == "255+" ? -1 : Int32.Parse (col);
+                               columnNumber = col.IndexOf ("+") >= 0 ? -1 : Int32.Parse (col);
 
                        string category = match.Result ("${level}");
                        string code = match.Result ("${number}");