public static bool CheckMutualAttributes <TTrueAttribute, TFalseAttribute>(
     this MemberInfo member, out TTrueAttribute trueAttribute, out TFalseAttribute falseAttribute)
     where TTrueAttribute : Attribute
     where TFalseAttribute : Attribute
 {
     return(MemberInfoExtensions.CheckMutualAttributes(member, false, out trueAttribute, out falseAttribute));
 }
        public static bool CheckMutualAttributes <TTrueAttribute, TFalseAttribute>(
            this MemberInfo member, bool defaultValue)
            where TTrueAttribute : Attribute
            where TFalseAttribute : Attribute
        {
            TTrueAttribute  trueAttr;
            TFalseAttribute falseAttr;

            return(MemberInfoExtensions.CheckMutualAttributes(member, defaultValue, out trueAttr, out falseAttr));
        }