Normalize line endings.
[mono.git] / mcs / class / Microsoft.Build.Tasks / Microsoft.Build.Tasks / Message.cs
index c47e8d4fd14062b39b1a46ce187b9b43ae9e95e0..8f0783b3f2410047a264bdade1f9d5cc73ef698a 100644 (file)
@@ -42,6 +42,9 @@ namespace Microsoft.Build.Tasks {
 
                public override bool Execute ()
                {
+                       if (text == null)
+                               return true;
+
                        MessageImportance       messageImportance;
                        
                        if (importance == null)