From df30585917af4cf408dcb6dbebf2c00df5d29242 Mon Sep 17 00:00:00 2001 From: Chris Cameron Date: Mon, 17 Sep 2018 15:52:44 -0400 Subject: [PATCH] perf: Don't use reflection in AbstractGenericJsonConverter --- ICD.Common.Utils/Json/AbstractGenericJsonConverter.cs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/ICD.Common.Utils/Json/AbstractGenericJsonConverter.cs b/ICD.Common.Utils/Json/AbstractGenericJsonConverter.cs index a6ea772..0b95a0c 100644 --- a/ICD.Common.Utils/Json/AbstractGenericJsonConverter.cs +++ b/ICD.Common.Utils/Json/AbstractGenericJsonConverter.cs @@ -10,10 +10,7 @@ namespace ICD.Common.Utils.Json /// Creates a new instance of T. /// /// - protected virtual T Instantiate() - { - return ReflectionUtils.CreateInstance(); - } + protected abstract T Instantiate(); /// /// Writes the JSON representation of the object.