public class CustomAttributeBuilder
|
ctor #1 | Overloaded:.ctor(ConstructorInfo con, object[] constructorArgs) Initializes an instance of the CustomAttributeBuilder class given the constructor for the custom attribute and the arguments to the constructor. |
ctor #2 | Overloaded:.ctor(ConstructorInfo con, object[] constructorArgs, FieldInfo[] namedFields, object[] fieldValues) Initializes an instance of the CustomAttributeBuilder class given the constructor for the custom attribute, the arguments to the constructor, and a set of named field/value pairs. |
ctor #3 | Overloaded:.ctor(ConstructorInfo con, object[] constructorArgs, PropertyInfo[] namedProperties, object[] propertyValues) Initializes an instance of the CustomAttributeBuilder class given the constructor for the custom attribute, the arguments to the constructor, and a set of named property or value pairs. |
ctor #4 | Overloaded:.ctor(ConstructorInfo con, object[] constructorArgs, PropertyInfo[] namedProperties, object[] propertyValues, FieldInfo[] namedFields, object[] fieldValues) Initializes an instance of the CustomAttributeBuilder class given the constructor for the custom attribute, the arguments to the constructor, a set of named property or value pairs, and a set of named field or value pairs. |
Equals (inherited from System.Object) |
See base class member description: System.Object.Equals Derived from System.Object, the primary base class for all objects. |
GetHashCode (inherited from System.Object) |
See base class member description: System.Object.GetHashCode Derived from System.Object, the primary base class for all objects. |
GetType (inherited from System.Object) |
See base class member description: System.Object.GetType Derived from System.Object, the primary base class for all objects. |
ToString (inherited from System.Object) |
See base class member description: System.Object.ToString Derived from System.Object, the primary base class for all objects. |
Finalize (inherited from System.Object) |
See base class member description: System.Object.Finalize Derived from System.Object, the primary base class for all objects. |
MemberwiseClone (inherited from System.Object) |
See base class member description: System.Object.MemberwiseClone Derived from System.Object, the primary base class for all objects. |
Hierarchy:
public CustomAttributeBuilder( |
con
constructorArgs
Exception Type | Condition |
---|---|
ArgumentException | con is static or private. -or- The number of supplied arguments does not match the number of parameters of the constructor as required by the calling convention of the constructor. -or- The type of supplied argument does not match the type of the parameter declared in the constructor |
ArgumentNullException | con, constructorArgs, or any elemet of the constructorArgs array is null. |
public CustomAttributeBuilder( |
con
constructorArgs
namedFields
fieldValues
Exception Type | Condition |
---|---|
ArgumentException | The lengths of the namedFields and fieldValues arrays are different. -or- con is static or private. -or- The number of supplied arguments does not match the number of parameters of the constructor as required by the calling convention of the constructor. -or- The type of supplied argument does not match the type of the parameter declared in the constructor. -or- The types of the field values do not match the types of the named fields. -or- The field does not belong to the same class or base class as the constructor. |
ArgumentNullException | One of the parameters or any of the elements of the array parameters is null. |
public CustomAttributeBuilder( |
con
constructorArgs
namedProperties
propertyValues
Exception Type | Condition |
---|---|
ArgumentException | The lengths of the namedProperties and propertyValues arrays are different. -or- con is static or private. -or- The number of supplied arguments does not match the number of parameters of the constructor as required by the calling convention of the constructor. -or- The type of supplied argument does not match the type of the parameter declared in the constructor. -or- The types of the property values do not match the types of the named properties. -or- A property has no setter method. -or- The property does not belong to the same class or base class as the constructor. |
ArgumentNullException | One of the parameters is null or one of the elements of the array parameters is null. |
public CustomAttributeBuilder( |
con
constructorArgs
namedProperties
propertyValues
namedFields
fieldValues
Exception Type | Condition |
---|---|
ArgumentException | The lengths of the namedProperties and propertyValues arrays are different. -or- The length of the namedFields and namedValues are different. -or- con is static or private. -or- The number of supplied arguments does not match the number of parameters of the constructor as required by the calling convention of the constructor. -or- The type of supplied argument does not match the type of the parameter declared in the constructor. -or- The types of the property values do not match the types of the named properties. -or- The types of the field values do not match the types of the corresponding field types. -or- A property has no setter. -or- The property or field does not belong to the same class or base class as the constructor. |
ArgumentNullException | One of the parameters or any of the elements of the array parameters is null. |
~CustomAttributeBuilder(); |
public virtual int GetHashCode(); |
public Type GetType(); |
protected object MemberwiseClone(); |
public virtual string ToString(); |