projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
New tests.
[mono.git]
/
mcs
/
class
/
System.XML
/
System.Xml
/
XmlInputStream.cs
diff --git
a/mcs/class/System.XML/System.Xml/XmlInputStream.cs
b/mcs/class/System.XML/System.Xml/XmlInputStream.cs
index 7ada6eb919db4fb3cce5ac1fd35c1904c2162467..44932ebeb40beca10c54f34e1d8876a676ed99c6 100644
(file)
--- a/
mcs/class/System.XML/System.Xml/XmlInputStream.cs
+++ b/
mcs/class/System.XML/System.Xml/XmlInputStream.cs
@@
-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];