Arango.fastJSON.Reflection.GetChangeType C# (CSharp) Method

GetChangeType() private method

private GetChangeType ( Type conversionType ) : Type
conversionType System.Type
return System.Type
        private Type GetChangeType(Type conversionType)
        {
            if (conversionType.IsGenericType && conversionType.GetGenericTypeDefinition().Equals(typeof(Nullable<>)))
                return Reflection.Instance.GetGenericArguments(conversionType)[0];// conversionType.GetGenericArguments()[0];

            return conversionType;
        }