public IEnumerable <ICustomAttribute> GetAttributes(EmitContext context) { return(_oldMethod.GetAttributes(context).Select(a => new DeletedCustomAttribute(a, _typesUsedByDeletedMembers))); }