diff --git a/ICD.Common.Utils/ReflectionUtils.cs b/ICD.Common.Utils/ReflectionUtils.cs index 542533f..fd8ee62 100644 --- a/ICD.Common.Utils/ReflectionUtils.cs +++ b/ICD.Common.Utils/ReflectionUtils.cs @@ -220,6 +220,9 @@ namespace ICD.Common.Utils if (parameters == null) throw new ArgumentNullException("parameters"); + if (parameters.Length == 0) + return Activator.CreateInstance(type); + ConstructorInfo constructor = GetConstructor(type, parameters); try