This commit is contained in:
James Newton-King
2014-10-20 18:52:21 +13:00
parent 703b30f9d1
commit 04d9d3181a
7 changed files with 417 additions and 85 deletions
@@ -521,7 +521,7 @@ third line", jsonTextReader.Value);
]content";
JsonTextReader reader = new JsonTextReader(new StringReader(json));
#if DEBUG && !NOINTERNALS
#if DEBUG
reader.SetCharBuffer(new char[2]);
#endif
@@ -590,7 +590,7 @@ third line", jsonTextReader.Value);
using (JsonTextReader jsonReader = new JsonTextReader(sr))
{
#if DEBUG && !NOINTERNALS
#if DEBUG
jsonReader.SetCharBuffer(new char[5]);
#endif
@@ -908,7 +908,7 @@ third line", jsonTextReader.Value);
]";
JsonTextReader reader = new JsonTextReader(new StringReader(json));
#if DEBUG && !NOINTERNALS
#if DEBUG
reader.SetCharBuffer(new char[129]);
#endif
@@ -1023,7 +1023,7 @@ third line", jsonTextReader.Value);
";
JsonTextReader reader = new JsonTextReader(new StringReader(json));
#if DEBUG && !NOINTERNALS
#if DEBUG
reader.SetCharBuffer(new char[129]);
#endif
@@ -1566,7 +1566,7 @@ third line", jsonTextReader.Value);
string json = @"[""\u003c"",""\u5f20""]";
JsonTextReader reader = new JsonTextReader(new StringReader(json));
#if DEBUG && !NOINTERNALS
#if DEBUG
reader.SetCharBuffer(new char[2]);
#endif
@@ -1898,7 +1898,7 @@ third line", jsonTextReader.Value);
string json = @"{""Message"":""Hi,I\u0092ve send you smth""}";
JsonTextReader reader = new JsonTextReader(new StringReader(json));
#if DEBUG && !NOINTERNALS
#if DEBUG
reader.SetCharBuffer(new char[5]);
#endif
@@ -2255,7 +2255,7 @@ third line", jsonTextReader.Value);
]";
JsonTextReader reader = new JsonTextReader(new StringReader(json));
#if DEBUG && !NOINTERNALS
#if DEBUG
reader.SetCharBuffer(new char[5]);
#endif
@@ -2283,7 +2283,7 @@ third line", jsonTextReader.Value);
} /*comment*/";
JsonTextReader reader = new JsonTextReader(new StringReader(json));
#if DEBUG && !NOINTERNALS
#if DEBUG
reader.SetCharBuffer(new char[5]);
#endif
@@ -2303,7 +2303,7 @@ third line", jsonTextReader.Value);
{
string json = "new Date\0()";
JsonTextReader reader = new JsonTextReader(new StringReader(json));
#if DEBUG && !NOINTERNALS
#if DEBUG
reader.SetCharBuffer(new char[7]);
#endif