/// <summary> /// treat as scalar check /// </summary> /// <param name="typeNames">name of the type to check</param> /// <returns>true if it has to be treated as a scalar</returns> private static bool TreatAsScalarType(Collection <string> typeNames) { return(DefaultScalarTypes.IsTypeInList(typeNames)); }