public void ImportType(System.Type type) { if (type.IsGenericType) ImportType(type.GenericTypeArguments[0]); else if (ReflectionUtility.IsTupleType(type)) { var tupleType = TupleTypeFromNative(type); _tupleToNative.Add(tupleType, type); } }