示例#1
0
 public virtual bool IsDefined(Type attributeType, bool inherit)
 {
     return(MonoCustomAttrs.IsDefined(this, attributeType, inherit));
 }
示例#2
0
 // According to MSDN the inherit parameter is ignored here and
 // the behavior always defaults to inherit = false
 //
 public override bool IsDefined(Type attributeType, bool inherit)
 {
     return(MonoCustomAttrs.IsDefined(this, attributeType, false));
 }
示例#3
0
 public static bool IsDefined(this MemberInfo element, Type attributeType, bool inherit)
 {
     return(MonoCustomAttrs.IsDefined(element, attributeType, inherit));
 }
示例#4
0
 public static bool IsDefined(this System.Reflection.MemberInfo element, System.Type attributeType, bool inherit)
 {
     return(MonoCustomAttrs.IsDefined(element, attributeType, inherit));
 }
示例#5
0
 public static bool IsDefined(this ParameterInfo element, Type attributeType, bool inherit) => MonoCustomAttrs.IsDefined(element, attributeType, true);
示例#6
0
 public static bool IsDefined(this Module element, Type attributeType) => MonoCustomAttrs.IsDefined(element, attributeType, true);