-Minor refactor

This commit is contained in:
James Newton-King
2017-10-14 12:18:10 +13:00
parent 5829826cbb
commit 8dd5eff2ee
6 changed files with 123 additions and 293 deletions
+1 -1
View File
@@ -66,7 +66,7 @@ namespace Newtonsoft.Json
case JsonContainerType.Constructor:
return MathUtils.IntLength((ulong)Position) + 2;
default:
throw new ArgumentOutOfRangeException("Type");
throw new ArgumentOutOfRangeException(nameof(Type));
}
}