Merge branch 'master' of github.com:JamesNK/Newtonsoft.Json
This commit is contained in:
@@ -60,5 +60,17 @@ namespace Newtonsoft.Json.Tests.Documentation.Samples.Linq
|
|||||||
}
|
}
|
||||||
#endregion
|
#endregion
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public static class File
|
||||||
|
{
|
||||||
|
public static StreamWriter CreateText(string path)
|
||||||
|
{
|
||||||
|
return new StreamWriter(new MemoryStream());
|
||||||
|
}
|
||||||
|
|
||||||
|
public static void WriteAllText(string s1, string s2)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
+12
-1
@@ -34,7 +34,6 @@ using Assert = Newtonsoft.Json.Tests.XUnitAssert;
|
|||||||
#else
|
#else
|
||||||
using NUnit.Framework;
|
using NUnit.Framework;
|
||||||
#endif
|
#endif
|
||||||
using File = System.IO.File;
|
|
||||||
|
|
||||||
namespace Newtonsoft.Json.Tests.Documentation.Samples.Serializer
|
namespace Newtonsoft.Json.Tests.Documentation.Samples.Serializer
|
||||||
{
|
{
|
||||||
@@ -70,5 +69,17 @@ namespace Newtonsoft.Json.Tests.Documentation.Samples.Serializer
|
|||||||
}
|
}
|
||||||
#endregion
|
#endregion
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public static class File
|
||||||
|
{
|
||||||
|
public static StreamWriter CreateText(string path)
|
||||||
|
{
|
||||||
|
return new StreamWriter(new MemoryStream());
|
||||||
|
}
|
||||||
|
|
||||||
|
public static void WriteAllText(string s1, string s2)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user