Evaluate() private method

private Evaluate ( ) : Object
return Object
        public object[] GetCustomAttributes(bool inherit)
        {
            CustomAttributeList customAttributes = this.owner.customAttributes;

            if (customAttributes == null)
            {
                return(new object[0]);
            }
            return((object[])customAttributes.Evaluate());
        }
Example #2
0
 public override Object[] GetCustomAttributes(bool inherit)
 {
     if (this.cons != null)
     {
         CustomAttributeList caList = this.cons.customAttributes;
         if (caList != null)
         {
             return((Object[])caList.Evaluate(false));
         }
     }
     return(new Object[0]);
 }
Example #3
0
 public override object[] GetCustomAttributes(bool inherit)
 {
     if (this.func != null)
     {
         CustomAttributeList customAttributes = this.func.customAttributes;
         if (customAttributes != null)
         {
             return((object[])customAttributes.Evaluate(inherit));
         }
     }
     return(new object[0]);
 }
Example #4
0
        public Object[] GetCustomAttributes(bool inherit)
        {
            CustomAttributeList caList = this.owner.customAttributes;

            if (caList == null)
            {
                return(new Object[0]);
            }
            else
            {
                return((Object[])caList.Evaluate());
            }
        }