-Modern project system all the things
This commit is contained in:
@@ -44,7 +44,7 @@ namespace Newtonsoft.Json.Tests.Benchmarks
|
||||
public void ConvertXmlNode()
|
||||
{
|
||||
XmlDocument doc = new XmlDocument();
|
||||
using (FileStream file = System.IO.File.OpenRead("large_sample.xml"))
|
||||
using (FileStream file = System.IO.File.OpenRead(TestFixtureBase.ResolvePath("large_sample.xml")))
|
||||
{
|
||||
doc.Load(file);
|
||||
}
|
||||
@@ -56,7 +56,7 @@ namespace Newtonsoft.Json.Tests.Benchmarks
|
||||
public void ConvertXNode()
|
||||
{
|
||||
XDocument doc;
|
||||
using (FileStream file = System.IO.File.OpenRead("large_sample.xml"))
|
||||
using (FileStream file = System.IO.File.OpenRead(TestFixtureBase.ResolvePath("large_sample.xml")))
|
||||
{
|
||||
doc = XDocument.Load(file);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user