Unfortunately, this method does not dynamically change the metadata of this type; ultimately, it returns you a TypeDescriptor , which includes the attributes you added.
Instead, you need to save the return value of the AddAttributes method and the request ...
var myObject = { ... }
var typeDescriptionProvider = TypeDescriptor.AddAttributes(myObject, attrList.ToArray());
var attributes = typeDescriptionProvider.GetTypeDescriptor(myObject).GetAttributes();
(fixed) , ().