diff --git a/Src/Newtonsoft.Json/Utilities/LateBoundReflectionDelegateFactory.cs b/Src/Newtonsoft.Json/Utilities/LateBoundReflectionDelegateFactory.cs index a82150c1..2150e4a3 100644 --- a/Src/Newtonsoft.Json/Utilities/LateBoundReflectionDelegateFactory.cs +++ b/Src/Newtonsoft.Json/Utilities/LateBoundReflectionDelegateFactory.cs @@ -47,11 +47,7 @@ namespace Newtonsoft.Json.Utilities { // don't convert to method group to avoid medium trust issues // https://github.com/JamesNK/Newtonsoft.Json/issues/476 - return a => - { - object[] args = a; - return c.Invoke(args); - }; + return a => c.Invoke(a); } return a => method.Invoke(null, a);