TypeAttributes GetTypeAttributes(TypeMember type) { return GetExtendedTypeAttributes(GetTypeVisibilityAttributes(type), type); }