예제 #1
0
파일: Assembly.cs 프로젝트: azyobuzin/mono
 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);