Update Newtonsoft.Json project to use nullable reference types (#1950)

This commit is contained in:
James Newton-King
2019-07-29 09:13:42 +12:00
committed by GitHub
parent f940f21804
commit cdf10151d5
169 changed files with 2264 additions and 1859 deletions
+3 -5
View File
@@ -212,11 +212,9 @@ namespace Newtonsoft.Json.Tests
public static string ResolvePath(string path)
{
#if !DNXCORE50
return Path.Combine(TestContext.CurrentContext.TestDirectory, path);
#else
return path;
#endif
var assemblyPath = Path.GetDirectoryName(typeof(TestFixtureBase).Assembly().Location);
return Path.Combine(assemblyPath, path);
}
protected string GetOffset(DateTime d, DateFormatHandling dateFormatHandling)