public virtual IEnumerable <CustomAttributeData> GetPseudoCustomAttributes(MetadataOnlyModule module, Token token) { List <CustomAttributeData> customAttributeDatas = new List <CustomAttributeData>(); customAttributeDatas.AddRange(PseudoCustomAttributes.GetTypeForwardedToAttributes(module, token)); CustomAttributeData serializableAttribute = PseudoCustomAttributes.GetSerializableAttribute(module, token); if (serializableAttribute != null) { customAttributeDatas.Add(serializableAttribute); } return(customAttributeDatas); }