Esempio n. 1
0
 /// <summary>Returns a list of <see cref="T:System.Reflection.CustomAttributeData" /> objects representing data about the attributes that have been applied to the target module.</summary>
 /// <param name="target">The module whose custom attribute data is to be retrieved.</param>
 /// <returns>A list of objects that represent data about the attributes that have been applied to the target module.</returns>
 /// <exception cref="T:System.ArgumentNullException">
 ///         <paramref name="target" /> is <see langword="null" />.</exception>
 // Token: 0x06004409 RID: 17417 RVA: 0x000F92CA File Offset: 0x000F74CA
 public static IList <CustomAttributeData> GetCustomAttributes(Module target)
 {
     if (target == null)
     {
         throw new ArgumentNullException("target");
     }
     return(target.GetCustomAttributesData());
 }
Esempio n. 2
0
        public static IList<CustomAttributeData> GetCustomAttributes(Module target)
        {
            if (target == null)
                throw new ArgumentNullException("target");
            Contract.EndContractBlock();

            return target.GetCustomAttributesData();
        }
 public static IList<CustomAttributeData> GetCustomAttributes(Module target)
 {
     if (target == null)
     {
         throw new ArgumentNullException("target");
     }
     return target.GetCustomAttributesData();
 }
Esempio n. 4
0
        public static IList <CustomAttributeData> GetCustomAttributes(Module target)
        {
            ArgumentNullException.ThrowIfNull(target);

            return(target.GetCustomAttributesData());
        }