public object ConvertForward(object input) { var value = InternalConvertForward(input); if (TypeCheck && !OutputType.IsInstanceOfTypeOrNull(value)) { throw new Exception($"Converted value '{value}' is not a instance of output type '{OutputType}'."); } return(value); }