예제 #1
0
 internal AttributeMetadata(CustomAttributeData attribute)
 {
     if (attribute == null)
     {
         throw new ArgumentNullException("Attribute can't be null.");
     }
     Name      = attribute.GetType().Name;
     SavedHash = attribute.GetHashCode();
 }