String.Split(char[],int,StringSplitOptions) should remove empty entries while
[mono.git] / mcs / class / corlib / System / NumberFormatter.cs
index 06cf1a442fc8fa74ba0084c22516afe62ba5a38f..4ff029cd761cf6be98651b960ba07c9b7dd129e5 100644 (file)
@@ -788,7 +788,7 @@ namespace System
                        int length = 0;
                        CustomInfo.GetActiveSection (format,ref p, ns.ZeroOnly, ref offset, ref length);
                        if (length == 0) {
-                               return ns.Positive ? "" : nfi.NegativeSign;
+                               return ns.Positive ? String.Empty : nfi.NegativeSign;
                        }
                        ns.Positive = p;