From 02e6fe9f8c7a0ef5b3a04f7a8a31d7e50740cb15 Mon Sep 17 00:00:00 2001 From: Drew Tingen Date: Wed, 7 Aug 2019 13:30:55 -0400 Subject: [PATCH] chore: formatting --- ICD.Common.Utils/ReflectionUtils.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ICD.Common.Utils/ReflectionUtils.cs b/ICD.Common.Utils/ReflectionUtils.cs index 4ca7955..fac658c 100644 --- a/ICD.Common.Utils/ReflectionUtils.cs +++ b/ICD.Common.Utils/ReflectionUtils.cs @@ -223,12 +223,12 @@ namespace ICD.Common.Utils try { - if (parameters.Length == 0) - return Activator.CreateInstance(type); + if (parameters.Length == 0) + return Activator.CreateInstance(type); + + ConstructorInfo constructor = GetConstructor(type, parameters); - ConstructorInfo constructor = GetConstructor(type, parameters); - return constructor.Invoke(parameters); } catch (TypeLoadException e)