public override Object[] GetCustomAttributes(bool inherit){ if (this.func != null){ CustomAttributeList caList = this.func.customAttributes; if (caList != null) return (Object[])caList.Evaluate(inherit); } return new Object[0]; }