do not check order sequence if option /order was not used
[mono.git] / mono / metadata / object.c
index dde02de811f53e32f37ab37112de72b33539641e..a1e1f884125bda056e5e0019dec2fa92c7404f80 100644 (file)
@@ -4946,7 +4946,7 @@ mono_string_new_len (MonoDomain *domain, const char *text, guint length)
        guint16 *ut;
        glong items_written;
 
-       ut = g_utf8_to_utf16_with_nuls (text, length, NULL, &items_written, &error);
+       ut = eg_utf8_to_utf16_with_nuls (text, length, NULL, &items_written, &error);
 
        if (!error)
                o = mono_string_new_utf16 (domain, ut, items_written);