-More object creation refactoring

This commit is contained in:
James Newton-King
2014-05-07 15:24:42 +12:00
parent 3e4eb24047
commit cf939ffc29
10 changed files with 317 additions and 162 deletions
@@ -23,6 +23,7 @@
// OTHER DEALINGS IN THE SOFTWARE.
#endregion
using System;
using System.Reflection;
using Newtonsoft.Json.Tests.TestObjects;
#if !NETFX_CORE
@@ -66,7 +67,7 @@ namespace Newtonsoft.Json.Tests.Serialization
[Test]
public void FailWithPrivateConstructorPlusParametizedAndDefault()
{
ExceptionAssert.Throws<TargetInvocationException>(
ExceptionAssert.Throws<Exception>(
null,
() =>
{