void SetCustomAttributes (CodeMemberMethod method)
{
Type baseType = parser.BaseType;
if (baseType == null)
return;
List <UnknownAttributeDescriptor> attrs = parser.UnknownMainAttributes;
if (attrs == null || attrs.Count == 0)
return;
foreach (UnknownAttributeDescriptor uad in attrs)
SetCustomAttribute (method, uad);
}