New tests.
[mono.git] / mcs / class / System.XML / System.Xml / XmlInputStream.cs
index 7ada6eb919db4fb3cce5ac1fd35c1904c2162467..44932ebeb40beca10c54f34e1d8876a676ed99c6 100644 (file)
@@ -361,7 +361,7 @@ namespace System.Xml
 
                static string GetStringFromBytes (byte [] bytes, int index, int count)
                {
-#if NET_2_1
+#if MOONLIGHT
                        char [] chars = new char [count];
                        for (int i = index; i < count; i++)
                                chars [i] = (char) bytes [i];