System.Reflection.Emit
Defines and represents a dynamic assembly.
Gets the location of the assembly, as specified originally (such as in an object).
The location of the assembly, as specified originally.
This method is not currently supported.
The caller does not have the required permission.
Defines a dynamic assembly that has the specified name and access rights.
The name of the assembly.
The access rights of the assembly.
An object that represents the new assembly.
Defines a new assembly that has the specified name, access rights, and attributes.
The name of the assembly.
The access rights of the assembly.
A collection that contains the attributes of the assembly.
An object that represents the new assembly.
Defines a named transient dynamic module in this assembly.
The name of the dynamic module.
A representing the defined dynamic module.
begins with white space.
-or-
The length of is zero.
-or-
The length of is greater than the system-defined maximum length.
is .
The caller does not have the required permission.
The assembly for default symbol writer cannot be loaded.
-or-
The type that implements the default symbol writer interface cannot be found.
Returns the entry point of this assembly.
The entry point of this assembly.
The caller does not have the required permission.
Returns a value that indicates whether this instance is equal to the specified object.
An object to compare with this instance, or .
if equals the type and value of this instance; otherwise, .
Gets the display name of the current dynamic assembly.
The display name of the dynamic assembly.
Returns all the custom attributes that have been applied to the current .
This argument is ignored for objects of this type.
An array that contains the custom attributes; the array is empty if there are no attributes.
Returns all the custom attributes that have been applied to the current , and that derive from a specified attribute type.
The base type from which attributes derive.
This argument is ignored for objects of this type.
An array that contains the custom attributes that are derived at any level from ; the array is empty if there are no such attributes.
is .
is not a object supplied by the runtime. For example, is a object.
Returns objects that contain information about the attributes that have been applied to the current .
A generic list of objects representing data about the attributes that have been applied to the current module.
Returns the dynamic module with the specified name.
The name of the requested dynamic module.
A ModuleBuilder object representing the requested dynamic module.
is .
The length of is zero.
The caller does not have the required permission.
Gets the exported types defined in this assembly.
An array of containing the exported types defined in this assembly.
This method is not implemented.
The caller does not have the required permission.
Gets a for the specified file in the file table of the manifest of this assembly.
The name of the specified file.
A for the specified file, or , if the file is not found.
This method is not currently supported.
The caller does not have the required permission.
Gets the files in the file table of an assembly manifest, specifying whether to include resource modules.
to include resource modules; otherwise, .
An array of objects.
This method is not currently supported.
The caller does not have the required permission.
Returns the hash code for this instance.
A 32-bit signed integer hash code.
Returns all the loaded modules that are part of this assembly, and optionally includes resource modules.
to include resource modules; otherwise, .
The loaded modules that are part of this assembly.
Returns information about how the given resource has been persisted.
The name of the resource.
populated with information about the resource's topology, or if the resource is not found.
This method is not currently supported.
The caller does not have the required permission.
Loads the specified manifest resource from this assembly.
An array of type containing the names of all the resources.
This method is not supported on a dynamic assembly. To get the manifest resource names, use .
The caller does not have the required permission.
Loads the specified manifest resource from this assembly.
The name of the manifest resource being requested.
A representing this manifest resource.
This method is not currently supported.
The caller does not have the required permission.
Loads the specified manifest resource, scoped by the namespace of the specified type, from this assembly.
The type whose namespace is used to scope the manifest resource name.
The name of the manifest resource being requested.
A representing this manifest resource.
This method is not currently supported.
The caller does not have the required permission.
Gets the specified module in this assembly.
The name of the requested module.
The module being requested, or if the module is not found.
Gets all the modules that are part of this assembly, and optionally includes resource modules.
to include resource modules; otherwise, .
The modules that are part of this assembly.
Gets the that was specified when the current dynamic assembly was created, and sets the code base as specified.
to set the code base to the location of the assembly after it is shadow-copied; to set the code base to the original location.
The name of the dynamic assembly.
Gets an incomplete list of objects for the assemblies that are referenced by this .
An array of assembly names for the referenced assemblies. This array is not a complete list.
Gets the satellite assembly for the specified culture.
The specified culture.
The specified satellite assembly.
is .
The assembly cannot be found.
The satellite assembly with a matching file name was found, but the did not match the one specified.
The satellite assembly is not a valid assembly.
Gets the specified version of the satellite assembly for the specified culture.
The specified culture.
The version of the satellite assembly.
The specified satellite assembly.
is .
The satellite assembly with a matching file name was found, but the or the version did not match the one specified.
The assembly cannot be found.
The satellite assembly is not a valid assembly.
Gets the specified type from the types that have been defined and created in the current .
The name of the type to search for.
to throw an exception if the type is not found; otherwise, .
to ignore the case of the type name when searching; otherwise, .
The specified type, or if the type is not found or has not been created yet.
Gets a value that indicates whether the assembly was loaded from the global assembly cache.
Always .
Gets the host context where the dynamic assembly is being created.
A value that indicates the host context where the dynamic assembly is being created.
Gets the version of the common language runtime that will be saved in the file containing the manifest.
A string representing the common language runtime version.
The caller does not have the required permission.
Returns a value that indicates whether one or more instances of the specified attribute type is applied to this member.
The type of attribute to test for.
This argument is ignored for objects of this type.
if one or more instances of is applied to this dynamic assembly; otherwise, .
Gets a value that indicates that the current assembly is a dynamic assembly.
Always .
Gets the location, in codebase format, of the loaded file that contains the manifest if it is not shadow-copied.
The location of the loaded file that contains the manifest. If the loaded file has been shadow-copied, the is that of the file before being shadow-copied.
This method is not currently supported.
The caller does not have the required permission.
Gets the module in the current that contains the assembly manifest.
The manifest module.
Gets a value indicating whether the dynamic assembly is in the reflection-only context.
if the dynamic assembly is in the reflection-only context; otherwise, .
Set a custom attribute on this assembly using a specified custom attribute blob.
The constructor for the custom attribute.
A byte blob representing the attributes.
or is .
The caller does not have the required permission.
is not a object.
Set a custom attribute on this assembly using a custom attribute builder.
An instance of a helper class to define the custom attribute.
is .
The caller does not have the required permission.
Defines the access modes for a dynamic assembly.
The dynamic assembly can be executed, but not saved.
The dynamic assembly will be automatically unloaded and its memory reclaimed, when it's no longer accessible.
Defines and represents a constructor of a dynamic class.
Gets the attributes for this constructor.
The attributes for this constructor.
Gets a value that depends on whether the declaring type is generic.
if the declaring type is generic; otherwise, .
Gets a reference to the object for the type that declares this member.
The type that declares this member.
Defines a parameter of this constructor.
The position of the parameter in the parameter list. Parameters are indexed beginning with the number 1 for the first parameter.
The attributes of the parameter.
The name of the parameter. The name can be the null string.
An object that represents the new parameter of this constructor.
is less than 0 (zero), or it is greater than the number of parameters of the constructor.
The containing type has been created using .
Returns all the custom attributes defined for this constructor.
Controls inheritance of custom attributes from base classes. This parameter is ignored.
An array of objects representing all the custom attributes of the constructor represented by this instance.
This method is not currently supported.
Returns the custom attributes identified by the given type.
The custom attribute type.
Controls inheritance of custom attributes from base classes. This parameter is ignored.
An object array that represents the attributes of this constructor.
This method is not currently supported.
Gets an for this constructor.
An object for this constructor.
The constructor is a parameterless constructor.
-or-
The constructor has or flags indicating that it should not have a method body.
Gets an object, with the specified MSIL stream size, that can be used to build a method body for this constructor.
The size of the MSIL stream, in bytes.
An for this constructor.
The constructor is a parameterless constructor.
-or-
The constructor has or flags indicating that it should not have a method body.
Returns the method implementation flags for this constructor.
The method implementation flags for this constructor.
Returns the parameters of this constructor.
An array that represents the parameters of this constructor.
has not been called on this constructor's type, in the .NET Framework versions 1.0 and 1.1.
has not been called on this constructor's type, in the .NET Framework version 2.0.
Gets or sets whether the local variables in this constructor should be zero-initialized.
Read/write. Gets or sets whether the local variables in this constructor should be zero-initialized.
Dynamically invokes the constructor reflected by this instance with the specified arguments, under the constraints of the specified .
The object that needs to be reinitialized.
One of the values that specifies the type of binding that is desired.
A that defines a set of properties and enables the binding, coercion of argument types, and invocation of members using reflection. If is , then Binder.DefaultBinding is used.
An argument list. This is an array of arguments with the same number, order, and type as the parameters of the constructor to be invoked. If there are no parameters, this should be a null reference ( in Visual Basic).
A used to govern the coercion of types. If this is null, the for the current thread is used.
An instance of the class associated with the constructor.
This method is not currently supported. You can retrieve the constructor using and call on the returned .
Dynamically invokes the constructor represented by this instance on the given object, passing along the specified parameters, and under the constraints of the given binder.
This must be a bit flag from , such as InvokeMethod, NonPublic, and so on.
An object that enables the binding, coercion of argument types, invocation of members, and retrieval of objects using reflection. If binder is , the default binder is used. See .
An argument list. This is an array of arguments with the same number, order, and type as the parameters of the constructor to be invoked. If there are no parameters this should be .
An instance of used to govern the coercion of types. If this is null, the for the current thread is used. (For example, this is necessary to convert a that represents 1000 to a value, since 1000 is represented differently by different cultures.)
The value returned by the invoked constructor.
This method is not currently supported. You can retrieve the constructor using and call on the returned .
Checks if the specified custom attribute type is defined.
A custom attribute type.
Controls inheritance of custom attributes from base classes. This parameter is ignored.
if the specified custom attribute type is defined; otherwise, .
This method is not currently supported. You can retrieve the constructor using and call on the returned .
Gets the internal handle for the method. Use this handle to access the underlying metadata handle.
The internal handle for the method. Use this handle to access the underlying metadata handle.
This property is not supported on this class.
Gets the dynamic module in which this constructor is defined.
A object that represents the dynamic module in which this constructor is defined.
Retrieves the name of this constructor.
The name of this constructor.
Holds a reference to the object from which this object was obtained.
The object from which this object was obtained.
Set a custom attribute using a specified custom attribute blob.
The constructor for the custom attribute.
A byte blob representing the attributes.
or is .
Set a custom attribute using a custom attribute builder.
An instance of a helper class to define the custom attribute.
is .
Sets the method implementation flags for this constructor.
The method implementation flags.
The containing type has been created using .
Returns this instance as a .
A string containing the name, attributes, and exceptions of this constructor, followed by the current Microsoft intermediate language (MSIL) stream.
Describes and represents an enumeration type.
Retrieves the dynamic assembly that contains this enum definition.
Read-only. The dynamic assembly that contains this enum definition.
Returns the full path of this enum qualified by the display name of the parent assembly.
Read-only. The full path of this enum qualified by the display name of the parent assembly.
Returns the parent of this type which is always .
Read-only. The parent of this type.
Gets a object that represents this enumeration.
An object that represents this enumeration.
Returns the type that declared this .
Read-only. The type that declared this .
Defines the named static field in an enumeration type with the specified constant value.
The name of the static field.
The constant value of the literal.
The defined field.
Returns the full path of this enum.
Read-only. The full path of this enum.
Returns an array of objects representing the public and non-public constructors defined for this class, as specified.
This must be a bit flag from : , , and so on.
Returns an array of objects representing the specified constructors defined for this class. If no constructors are defined, an empty array is returned.
This method is not currently supported in types that are not complete.
Returns all the custom attributes defined for this constructor.
Specifies whether to search this member's inheritance chain to find the attributes.
Returns an array of objects representing all the custom attributes of the constructor represented by this instance.
This method is not currently supported in types that are not complete.
Returns the custom attributes identified by the given type.
The object to which the custom attributes are applied.
Specifies whether to search this member's inheritance chain to find the attributes.
Returns an array of objects representing the attributes of this constructor that are of .
This method is not currently supported in types that are not complete.
Calling this method always throws .
This method is not supported. No value is returned.
This method is not currently supported.
Returns the underlying integer type of the current enumeration, which is set when the enumeration builder is defined.
The underlying type.
Returns the event with the specified name.
The name of the event to get.
This invocation attribute. This must be a bit flag from : , , and so on.
Returns an object representing the event declared or inherited by this type with the specified name. If there are no matches, is returned.
This method is not currently supported in types that are not complete.
Returns the events for the public events declared or inherited by this type.
Returns an array of objects representing the public events declared or inherited by this type. An empty array is returned if there are no public events.
This method is not currently supported in types that are not complete.
Returns the public and non-public events that are declared by this type.
This must be a bit flag from , such as , , and so on.
Returns an array of objects representing the public and non-public events declared or inherited by this type. An empty array is returned if there are no events, as specified.
This method is not currently supported in types that are not complete.
Returns the field specified by the given name.
The name of the field to get.
This must be a bit flag from : , , and so on.
Returns the object representing the field declared or inherited by this type with the specified name and public or non-public modifier. If there are no matches, then null is returned.
This method is not currently supported in types that are not complete.
Returns the public and non-public fields that are declared by this type.
This must be a bit flag from , such as InvokeMethod, NonPublic, and so on.
Returns an array of objects representing the public and non-public fields declared or inherited by this type. An empty array is returned if there are no fields, as specified.
This method is not currently supported in types that are not complete.
Returns the interface implemented (directly or indirectly) by this type, with the specified fully-qualified name.
The name of the interface.
If , the search is case-insensitive. If , the search is case-sensitive.
Returns a object representing the implemented interface. Returns null if no interface matching name is found.
This method is not currently supported in types that are not complete.
Returns an interface mapping for the interface requested.
The type of the interface for which the interface mapping is to be retrieved.
The requested interface mapping.
The type does not implement the interface.
Returns an array of all the interfaces implemented on this a class and its base classes.
Returns an array of objects representing the implemented interfaces. If none are defined, an empty array is returned.
Returns all members with the specified name, type, and binding that are declared or inherited by this type.
The name of the member.
The type of member that is to be returned.
This must be a bit flag from : , , and so on.
Returns an array of objects representing the public and non-public members defined on this type if is used; otherwise, only the public members are returned.
This method is not currently supported in types that are not complete.
Returns the specified members declared or inherited by this type,.
This must be a bit flag from : , , and so on.
Returns an array of objects representing the public and non-public members declared or inherited by this type. An empty array is returned if there are no matching members.
This method is not currently supported in types that are not complete.
Returns all the public and non-public methods declared or inherited by this type, as specified.
This must be a bit flag from , such as , , and so on.
Returns an array of objects representing the public and non-public methods defined on this type if is used; otherwise, only the public methods are returned.
This method is not currently supported in types that are not complete.
Returns the specified nested type that is declared by this type.
The containing the name of the nested type to get.
A bitmask comprised of one or more that specify how the search is conducted.
-or-
Zero, to conduct a case-sensitive search for public methods.
A object representing the nested type that matches the specified requirements, if found; otherwise, .
This method is not currently supported in types that are not complete.
Returns the public and non-public nested types that are declared or inherited by this type.
This must be a bit flag from , such as , , and so on.
An array of objects representing all the types nested within the current that match the specified binding constraints.
An empty array of type , if no types are nested within the current , or if none of the nested types match the binding constraints.
This method is not currently supported in types that are not complete.
Returns all the public and non-public properties declared or inherited by this type, as specified.
This invocation attribute. This must be a bit flag from : , , and so on.
Returns an array of objects representing the public and non-public properties defined on this type if is used; otherwise, only the public properties are returned.
This method is not currently supported in types that are not complete.
Returns the GUID of this enum.
Read-only. The GUID of this enum.
This method is not currently supported in types that are not complete.
Invokes the specified member. The method that is to be invoked must be accessible and provide the most specific match with the specified argument list, under the constraints of the specified binder and invocation attributes.
The name of the member to invoke. This can be a constructor, method, property, or field. A suitable invocation attribute must be specified. Note that it is possible to invoke the default member of a class by passing an empty string as the name of the member.
The invocation attribute. This must be a bit flag from .
An object that enables the binding, coercion of argument types, invocation of members, and retrieval of objects using reflection. If binder is , the default binder is used. See .
The object on which to invoke the specified member. If the member is static, this parameter is ignored.
An argument list. This is an array of objects that contains the number, order, and type of the parameters of the member to be invoked. If there are no parameters this should be null.
An array of the same length as with elements that represent the attributes associated with the arguments of the member to be invoked. A parameter has attributes associated with it in the metadata. They are used by various interoperability services. See the metadata specs for details such as this.
An instance of used to govern the coercion of types. If this is null, the for the current thread is used. (Note that this is necessary to, for example, convert a string that represents 1000 to a double value, since 1000 is represented differently by different cultures.)
Each parameter in the array gets the value in the corresponding element in the array. If the length of is greater than the length of , the remaining argument values are passed in order.
Returns the return value of the invoked member.
This method is not currently supported in types that are not complete.
Gets a value that indicates whether this object represents a constructed generic type.
if this object represents a constructed generic type; otherwise, .
Checks if the specified custom attribute type is defined.
The object to which the custom attributes are applied.
Specifies whether to search this member's inheritance chain to find the attributes.
if one or more instance of is defined on this member; otherwise, .
This method is not currently supported in types that are not complete.
Returns a object representing a one-dimensional array of the current type, with a lower bound of zero.
A object representing a one-dimensional array of the current type, with a lower bound of zero.
Returns a object representing an array of the current type, with the specified number of dimensions.
The number of dimensions for the array. This number must be less than or equal to 32.
An object representing an array of the current type, with the specified number of dimensions.
is less than 1.
Returns a object that represents the current type when passed as a ref parameter (ByRef parameter in Visual Basic).
A object that represents the current type when passed as a ref parameter (ByRef parameter in Visual Basic).
Returns a object that represents a pointer to the current type.
A object that represents a pointer to the current type.
Retrieves the dynamic module that contains this definition.
Read-only. The dynamic module that contains this definition.
Returns the name of this enum.
Read-only. The name of this enum.
Returns the namespace of this enum.
Read-only. The namespace of this enum.
Returns the type that was used to obtain this .
Read-only. The type that was used to obtain this .
Sets a custom attribute using a specified custom attribute blob.
The constructor for the custom attribute.
A byte blob representing the attributes.
or is .
Sets a custom attribute using a custom attribute builder.
An instance of a helper class to define the custom attribute.
is .
Retrieves the internal handle for this enum.
Read-only. The internal handle for this enum.
This property is not currently supported.
Returns the underlying field for this enum.
Read-only. The underlying field for this enum.
Returns the underlying system type for this enum.
Read-only. Returns the underlying system type.
Defines events for a class.
Adds one of the "other" methods associated with this event. "Other" methods are methods other than the "on" and "raise" methods associated with an event. This function can be called many times to add as many "other" methods.
A object that represents the other method.
is .
has been called on the enclosing type.
Sets the method used to subscribe to this event.
A object that represents the method used to subscribe to this event.
is .
has been called on the enclosing type.
Set a custom attribute using a specified custom attribute blob.
The constructor for the custom attribute.
A byte blob representing the attributes.
or is .
has been called on the enclosing type.
Sets a custom attribute using a custom attribute builder.
An instance of a helper class to describe the custom attribute.
is .
has been called on the enclosing type.
Sets the method used to raise this event.
A object that represents the method used to raise this event.
is .
has been called on the enclosing type.
Sets the method used to unsubscribe to this event.
A object that represents the method used to unsubscribe to this event.
is .
has been called on the enclosing type.
Defines and represents a field. This class cannot be inherited.
Indicates the attributes of this field. This property is read-only.
The attributes of this field.
Indicates a reference to the object for the type that declares this field. This property is read-only.
A reference to the object for the type that declares this field.
Indicates the internal metadata handle for this field. This property is read-only.
The internal metadata handle for this field.
This method is not supported.
Indicates the object that represents the type of this field. This property is read-only.
The object that represents the type of this field.
Returns all the custom attributes defined for this field.
Controls inheritance of custom attributes from base classes.
An array of type representing all the custom attributes of the constructor represented by this instance.
This method is not supported.
Returns all the custom attributes defined for this field identified by the given type.
The custom attribute type.
Controls inheritance of custom attributes from base classes.
An array of type representing all the custom attributes of the constructor represented by this instance.
This method is not supported.
Retrieves the value of the field supported by the given object.
The object on which to access the field.
An containing the value of the field reflected by this instance.
This method is not supported.
Indicates whether an attribute having the specified type is defined on a field.
The type of the attribute.
Controls inheritance of custom attributes from base classes.
if one or more instance of is defined on this field; otherwise, .
This method is not currently supported. Retrieve the field using and call on the returned .
Gets the module in which the type that contains this field is being defined.
A that represents the dynamic module in which this field is being defined.
Indicates the name of this field. This property is read-only.
A containing the name of this field.
Indicates the reference to the object from which this object was obtained. This property is read-only.
A reference to the object from which this instance was obtained.
Sets the default value of this field.
The new default value for this field.
The containing type has been created using .
The field is not one of the supported types.
-or-
The type of does not match the type of the field.
-or-
The field is of type or other reference type, is not , and the value cannot be assigned to the reference type.
Sets a custom attribute using a specified custom attribute blob.
The constructor for the custom attribute.
A byte blob representing the attributes.
or is .
The parent type of this field is complete.
Sets a custom attribute using a custom attribute builder.
An instance of a helper class to define the custom attribute.
is .
The parent type of this field is complete.
Specifies the field layout.
The offset of the field within the type containing this field.
The containing type has been created using .
is less than zero.
Sets the value of the field supported by the given object.
The object on which to access the field.
The value to assign to the field.
A member of that specifies the type of binding that is desired (for example, IBinder.CreateInstance, IBinder.ExactBinding).
A set of properties and enabling for binding, coercion of argument types, and invocation of members using reflection. If binder is null, then IBinder.DefaultBinding is used.
The software preferences of a particular culture.
This method is not supported.
Defines and creates generic type parameters for dynamically defined generic types and methods. This class cannot be inherited.
Gets an object representing the dynamic assembly that contains the generic type definition the current type parameter belongs to.
An object representing the dynamic assembly that contains the generic type definition the current type parameter belongs to.
Gets in all cases.
A null reference ( in Visual Basic) in all cases.
Gets the base type constraint of the current generic type parameter.
A object that represents the base type constraint of the generic type parameter, or if the type parameter has no base type constraint.
Gets in all cases.
in all cases.
Gets a that represents the declaring method, if the current represents a type parameter of a generic method.
A that represents the declaring method, if the current represents a type parameter of a generic method; otherwise, .
Gets the generic type definition or generic method definition to which the generic type parameter belongs.
If the type parameter belongs to a generic type, a object representing that generic type; if the type parameter belongs to a generic method, a object representing that type that declared that generic method.
Tests whether the given object is an instance of and is equal to the current instance.
The object to be compared with the current instance.
if is an instance of and equals the current instance; otherwise, .
Gets in all cases.
A null reference ( in Visual Basic) in all cases.
Gets a combination of flags that describe the covariance and special constraints of the current generic type parameter.
A bitwise combination of values that describes the covariance and special constraints of the current generic type parameter.
Gets the position of the type parameter in the type parameter list of the generic type or method that declared the parameter.
The position of the type parameter in the type parameter list of the generic type or method that declared the parameter.
Not supported for incomplete generic type parameters.
Not supported.
Not supported for incomplete generic type parameters.
In all cases.
Not supported for incomplete generic type parameters.
Specifies whether to search this member's inheritance chain to find the attributes.
Not supported for incomplete generic type parameters.
In all cases.
Not supported for incomplete generic type parameters.
The type of attribute to search for. Only attributes that are assignable to this type are returned.
Specifies whether to search this member's inheritance chain to find the attributes.
Not supported for incomplete generic type parameters.
In all cases.
Throws a in all cases.
The type referred to by the current array type, pointer type, or type; or if the current type is not an array type, is not a pointer type, and is not passed by reference.
In all cases.
Not supported for incomplete generic type parameters.
Not supported.
Not supported.
Not supported for incomplete generic type parameters.
In all cases.
Not supported for incomplete generic type parameters.
Not supported for incomplete generic type parameters.
In all cases.
Not supported for incomplete generic type parameters.
Not supported.
Not supported for incomplete generic type parameters.
In all cases.
Not supported for incomplete generic type parameters.
Not supported.
Not supported.
Not supported for incomplete generic type parameters.
In all cases.
Not supported for incomplete generic type parameters.
Not supported.
Not supported for incomplete generic type parameters.
In all cases.
Not valid for generic type parameters.
Not valid for generic type parameters.
In all cases.
Not valid for generic type parameters.
Not valid for generic type parameters.
In all cases.
Returns a 32-bit integer hash code for the current instance.
A 32-bit integer hash code.
Not supported for incomplete generic type parameters.
The name of the interface.
to search without regard for case; to make a case-sensitive search.
Not supported for incomplete generic type parameters.
In all cases.
Not supported for incomplete generic type parameters.
A object that represents the interface type for which the mapping is to be retrieved.
Not supported for incomplete generic type parameters.
In all cases.
Not supported for incomplete generic type parameters.
Not supported for incomplete generic type parameters.
In all cases.
Not supported for incomplete generic type parameters.
Not supported.
Not supported.
Not supported.
Not supported for incomplete generic type parameters.
In all cases.
Not supported for incomplete generic type parameters.
Not supported.
Not supported for incomplete generic type parameters.
In all cases.
Not supported for incomplete generic type parameters.
Not supported.
Not supported for incomplete generic type parameters.
In all cases.
Not supported for incomplete generic type parameters.
Not supported.
Not supported.
Not supported for incomplete generic type parameters.
In all cases.
Not supported for incomplete generic type parameters.
Not supported.
Not supported for incomplete generic type parameters.
In all cases.
Not supported for incomplete generic type parameters.
Not supported.
Not supported for incomplete generic type parameters.
In all cases.
Not supported for incomplete generic type parameters.
Not supported for incomplete generic type parameters.
In all cases.
Not supported for incomplete generic type parameters.
Not supported.
Not supported.
Not supported.
Not supported.
Not supported.
Not supported.
Not supported.
Not supported.
Not supported for incomplete generic type parameters.
In all cases.
Throws a exception in all cases.
The object to test.
Throws a exception in all cases.
In all cases.
Gets a value that indicates whether this object represents a constructed generic type.
if this object represents a constructed generic type; otherwise, .
Not supported for incomplete generic type parameters.
Not supported.
Not supported.
Not supported for incomplete generic type parameters.
In all cases.
Gets in all cases.
in all cases.
Returns in all cases.
in all cases.
Gets in all cases.
in all cases.
Not supported for incomplete generic type parameters.
Not supported.
Not supported for incomplete generic type parameters.
In all cases.
Returns the type of a one-dimensional array whose element type is the generic type parameter.
A object that represents the type of a one-dimensional array whose element type is the generic type parameter.
Returns the type of an array whose element type is the generic type parameter, with the specified number of dimensions.
The number of dimensions for the array.
A object that represents the type of an array whose element type is the generic type parameter, with the specified number of dimensions.
is not a valid number of dimensions. For example, its value is less than 1.
Returns a object that represents the current generic type parameter when passed as a reference parameter.
A object that represents the current generic type parameter when passed as a reference parameter.
Not valid for incomplete generic type parameters.
An array of type arguments.
This method is invalid for incomplete generic type parameters.
In all cases.
Returns a object that represents a pointer to the current generic type parameter.
A object that represents a pointer to the current generic type parameter.
Gets the dynamic module that contains the generic type parameter.
A object that represents the dynamic module that contains the generic type parameter.
Gets the name of the generic type parameter.
The name of the generic type parameter.
Gets in all cases.
A null reference ( in Visual Basic) in all cases.
Gets the object that was used to obtain the .
The object that was used to obtain the .
Sets the base type that a type must inherit in order to be substituted for the type parameter.
The that must be inherited by any type that is to be substituted for the type parameter.
Sets a custom attribute using a specified custom attribute blob.
The constructor for the custom attribute.
A byte blob representing the attribute.
is .
-or-
is a null reference.
Set a custom attribute using a custom attribute builder.
An instance of a helper class that defines the custom attribute.
is .
Sets the variance characteristics and special constraints of the generic parameter, such as the parameterless constructor constraint.
A bitwise combination of values that represent the variance characteristics and special constraints of the generic type parameter.
Sets the interfaces a type must implement in order to be substituted for the type parameter.
An array of objects that represent the interfaces a type must implement in order to be substituted for the type parameter.
Returns a string representation of the current generic type parameter.
A string that contains the name of the generic type parameter.
Not supported for incomplete generic type parameters.
Not supported for incomplete generic type parameters.
In all cases.
Gets the current generic type parameter.
The current object.
Defines and represents a method (or constructor) on a dynamic class.
Retrieves the attributes for this method.
Read-only. Retrieves the for this method.
Returns the calling convention of the method.
Read-only. The calling convention of the method.
Not supported for this type.
Not supported.
The invoked method is not supported in the base class.
Returns the type that declares this method.
Read-only. The type that declares this method.
Sets the number of generic type parameters for the current method, specifies their names, and returns an array of objects that can be used to define their constraints.
An array of strings that represent the names of the generic type parameters.
An array of objects representing the type parameters of the generic method.
Generic type parameters have already been defined for this method.
-or-
The method has been completed already.
-or-
The method has been called for the current method.
is .
-or-
An element of is .
is an empty array.
Sets the parameter attributes and the name of a parameter of this method, or of the return value of this method. Returns a ParameterBuilder that can be used to apply custom attributes.
The position of the parameter in the parameter list. Parameters are indexed beginning with the number 1 for the first parameter; the number 0 represents the return value of the method.
The parameter attributes of the parameter.
The name of the parameter. The name can be the null string.
Returns a object that represents a parameter of this method or the return value of this method.
The method has no parameters.
-or-
is less than zero.
-or-
is greater than the number of the method's parameters.
The containing type was previously created using .
-or-
For the current method, the property is , but the property is .
Determines whether the given object is equal to this instance.
The object to compare with this instance.
if is an instance of and is equal to this object; otherwise, .
Return the base implementation for a method.
The base implementation of this method.
Returns all the custom attributes defined for this method.
Specifies whether to search this member's inheritance chain to find the custom attributes.
Returns an array of objects representing all the custom attributes of this method.
This method is not currently supported. Retrieve the method using and call on the returned .
Returns the custom attributes identified by the given type.
The custom attribute type.
Specifies whether to search this member's inheritance chain to find the custom attributes.
Returns an array of objects representing the attributes of this method that are of type .
This method is not currently supported. Retrieve the method using and call on the returned .
Returns an array of objects that represent the type parameters of the method, if it is generic.
An array of objects representing the type parameters, if the method is generic, or if the method is not generic.
Returns this method.
The current instance of .
The current method is not generic. That is, the property returns .
Gets the hash code for this method.
The hash code for this method.
Returns an for this method with a default Microsoft intermediate language (MSIL) stream size of 64 bytes.
Returns an object for this method.
The method should not have a body because of its or flags, for example because it has the flag.
-or-
The method is a generic method, but not a generic method definition. That is, the property is , but the property is .
Returns an for this method with the specified Microsoft intermediate language (MSIL) stream size.
The size of the MSIL stream, in bytes.
Returns an object for this method.
The method should not have a body because of its or flags, for example because it has the flag.
-or-
The method is a generic method, but not a generic method definition. That is, the property is , but the property is .
Returns the implementation flags for the method.
Returns the implementation flags for the method.
Returns the parameters of this method.
An array of objects that represent the parameters of the method.
This method is not currently supported. Retrieve the method using and call on the returned .
Gets or sets a Boolean value that specifies whether the local variables in this method are zero initialized. The default value of this property is .
if the local variables in this method should be zero initialized; otherwise .
For the current method, the property is , but the property is . (Get or set.)
Dynamically invokes the method reflected by this instance on the given object, passing along the specified parameters, and under the constraints of the given binder.
The object on which to invoke the specified method. If the method is static, this parameter is ignored.
This must be a bit flag from : , , and so on.
An object that enables the binding, coercion of argument types, invocation of members, and retrieval of MemberInfo objects via reflection. If binder is , the default binder is used. For more details, see .
An argument list. This is an array of arguments with the same number, order, and type as the parameters of the method to be invoked. If there are no parameters this should be .
An instance of used to govern the coercion of types. If this is null, the for the current thread is used. (Note that this is necessary to, for example, convert a that represents 1000 to a value, since 1000 is represented differently by different cultures.)
Returns an object containing the return value of the invoked method.
This method is not currently supported. Retrieve the method using and call on the returned .
Checks if the specified custom attribute type is defined.
The custom attribute type.
Specifies whether to search this member's inheritance chain to find the custom attributes.
if the specified custom attribute type is defined; otherwise, .
This method is not currently supported. Retrieve the method using and call on the returned .
Gets a value indicating whether the method is a generic method.
if the method is generic; otherwise, .
Gets a value indicating whether the current object represents the definition of a generic method.
if the current object represents the definition of a generic method; otherwise, .
Throws a in all cases.
Throws a in all cases.
In all cases. This property is not supported in dynamic assemblies.
Throws a in all cases.
Throws a in all cases.
In all cases. This property is not supported in dynamic assemblies.
Throws a in all cases.
Throws a in all cases.
In all cases. This property is not supported in dynamic assemblies.
Returns a generic method constructed from the current generic method definition using the specified generic type arguments.
An array of objects that represent the type arguments for the generic method.
A representing the generic method constructed from the current generic method definition using the specified generic type arguments.
Retrieves the internal handle for the method. Use this handle to access the underlying metadata handle.
Read-only. The internal handle for the method. Use this handle to access the underlying metadata handle.
This method is not currently supported. Retrieve the method using and call on the returned .
Gets the module in which the current method is being defined.
The in which the member represented by the current is being defined.
Retrieves the name of this method.
Read-only. Retrieves a string containing the simple name of this method.
Retrieves the class that was used in reflection to obtain this object.
Read-only. The type used to obtain this method.
Gets a object that contains information about the return type of the method, such as whether the return type has custom modifiers.
A object that contains information about the return type.
The declaring type has not been created.
Gets the return type of the method represented by this .
The return type of the method.
Returns the custom attributes of the method's return type.
Read-only. The custom attributes of the method's return type.
Sets a custom attribute using a specified custom attribute blob.
The constructor for the custom attribute.
A byte blob representing the attributes.
or is .
For the current method, the property is , but the property is .
Sets a custom attribute using a custom attribute builder.
An instance of a helper class to describe the custom attribute.
is .
For the current method, the property is , but the property is .
Sets the implementation flags for this method.
The implementation flags to set.
The containing type was previously created using .
-or-
For the current method, the property is , but the property is .
Sets the number and types of parameters for a method.
An array of objects representing the parameter types.
The current method is generic, but is not a generic method definition. That is, the property is , but the property is .
Sets the return type of the method.
A object that represents the return type of the method.
The current method is generic, but is not a generic method definition. That is, the property is , but the property is .
Sets the method signature, including the return type, the parameter types, and the required and optional custom modifiers of the return type and parameter types.
The return type of the method.
An array of types representing the required custom modifiers, such as , for the return type of the method. If the return type has no required custom modifiers, specify .
An array of types representing the optional custom modifiers, such as , for the return type of the method. If the return type has no optional custom modifiers, specify .
The types of the parameters of the method.
An array of arrays of types. Each array of types represents the required custom modifiers for the corresponding parameter, such as . If a particular parameter has no required custom modifiers, specify instead of an array of types. If none of the parameters have required custom modifiers, specify instead of an array of arrays.
An array of arrays of types. Each array of types represents the optional custom modifiers for the corresponding parameter, such as . If a particular parameter has no optional custom modifiers, specify instead of an array of types. If none of the parameters have optional custom modifiers, specify instead of an array of arrays.
The current method is generic, but is not a generic method definition. That is, the property is , but the property is .
Returns this instance as a string.
Returns a string containing the name, attributes, method signature, exceptions, and local signature of this method followed by the current Microsoft intermediate language (MSIL) stream.
Defines and represents a module in a dynamic assembly.
Gets the dynamic assembly that defined this instance of .
The dynamic assembly that defined the current dynamic module.
Completes the global function definitions and global data definitions for this dynamic module.
This method was called previously.
Defines an enumeration type that is a value type with a single non-static field called of the specified type.
The full path of the enumeration type. cannot contain embedded nulls.
The type attributes for the enumeration. The attributes are any bits defined by .
The underlying type for the enumeration. This must be a built-in integer type.
The defined enumeration.
Attributes other than visibility attributes are provided.
-or-
An enumeration with the given name exists in the parent assembly of this module.
-or-
The visibility attributes do not match the scope of the enumeration. For example, is specified for , but the enumeration is not a nested type.
is .
Defines a global method with the specified name, attributes, calling convention, return type, and parameter types.
The name of the method. cannot contain embedded nulls.
The attributes of the method. must include .
The calling convention for the method.
The return type of the method.
The types of the method's parameters.
The defined global method.
The method is not static. That is, does not include .
-or-
An element in the array is .
is .
has been previously called.
Defines a global method with the specified name, attributes, calling convention, return type, custom modifiers for the return type, parameter types, and custom modifiers for the parameter types.
The name of the method. cannot contain embedded null characters.
The attributes of the method. must include .
The calling convention for the method.
The return type of the method.
An array of types representing the required custom modifiers for the return type, such as or . If the return type has no required custom modifiers, specify .
An array of types representing the optional custom modifiers for the return type, such as or . If the return type has no optional custom modifiers, specify .
The types of the method's parameters.
An array of arrays of types. Each array of types represents the required custom modifiers for the corresponding parameter of the global method. If a particular argument has no required custom modifiers, specify instead of an array of types. If the global method has no arguments, or if none of the arguments have required custom modifiers, specify instead of an array of arrays.
An array of arrays of types. Each array of types represents the optional custom modifiers for the corresponding parameter. If a particular argument has no optional custom modifiers, specify instead of an array of types. If the global method has no arguments, or if none of the arguments have optional custom modifiers, specify instead of an array of arrays.
The defined global method.
The method is not static. That is, does not include .
-or-
An element in the array is .
is .
The method has been previously called.
Defines a global method with the specified name, attributes, return type, and parameter types.
The name of the method. cannot contain embedded nulls.
The attributes of the method. must include .
The return type of the method.
The types of the method's parameters.
The defined global method.
The method is not static. That is, does not include .
-or-
The length of is zero
-or-
An element in the array is .
is .
has been previously called.
Defines an initialized data field in the .sdata section of the portable executable (PE) file.
The name used to refer to the data. cannot contain embedded nulls.
The binary large object (BLOB) of data.
The attributes for the field. The default is .
A field to reference the data.
The length of is zero.
-or-
The size of is less than or equal to zero or greater than or equal to 0x3f0000.
or is .
has been previously called.
Defines a method with the specified name, the name of the DLL in which the method is defined, the attributes of the method, the calling convention of the method, the return type of the method, the types of the parameters of the method, and the flags.
The name of the method. cannot contain embedded nulls.
The name of the DLL in which the method is defined.
The attributes of the method.
The method's calling convention.
The method's return type.
The types of the method's parameters.
The native calling convention.
The method's native character set.
The defined method.
The method is not static or if the containing type is an interface.
-or-
The method is abstract.
-or-
The method was previously defined.
or is .
The containing type has been previously created using
Defines a method with the specified name, the name of the DLL in which the method is defined, the attributes of the method, the calling convention of the method, the return type of the method, the types of the parameters of the method, and the flags.
The name of the method. cannot contain embedded nulls.
The name of the DLL in which the method is defined.
The name of the entry point in the DLL.
The attributes of the method.
The method's calling convention.
The method's return type.
The types of the method's parameters.
The native calling convention.
The method's native character set.
The defined method.
The method is not static or if the containing type is an interface or if the method is abstract of if the method was previously defined.
or is .
The containing type has been previously created using
Constructs a for a private type with the specified name in this module.
The full path of the type, including the namespace. cannot contain embedded nulls.
A private type with the specified name.
A type with the given name exists in the parent assembly of this module.
-or-
Nested type attributes are set on a type that is not nested.
is .
Constructs a given the type name and the type attributes.
The full path of the type. cannot contain embedded nulls.
The attributes of the defined type.
A created with all of the requested attributes.
A type with the given name exists in the parent assembly of this module.
-or-
Nested type attributes are set on a type that is not nested.
is .
Constructs a given type name, its attributes, and the type that the defined type extends.
The full path of the type. cannot contain embedded nulls.
The attribute to be associated with the type.
The type that the defined type extends.
A created with all of the requested attributes.
A type with the given name exists in the parent assembly of this module.
-or-
Nested type attributes are set on a type that is not nested.
is .
Constructs a given the type name, the attributes, the type that the defined type extends, and the total size of the type.
The full path of the type. cannot contain embedded nulls.
The attributes of the defined type.
The type that the defined type extends.
The total size of the type.
A object.
A type with the given name exists in the parent assembly of this module.
-or-
Nested type attributes are set on a type that is not nested.
is .
Constructs a given the type name, the attributes, the type that the defined type extends, and the packing size of the type.
The full path of the type. cannot contain embedded nulls.
The attributes of the defined type.
The type that the defined type extends.
The packing size of the type.
A object.
A type with the given name exists in the parent assembly of this module.
-or-
Nested type attributes are set on a type that is not nested.
is .
Constructs a given the type name, attributes, the type that the defined type extends, the packing size of the defined type, and the total size of the defined type.
The full path of the type. cannot contain embedded nulls.
The attributes of the defined type.
The type that the defined type extends.
The packing size of the type.
The total size of the type.
A created with all of the requested attributes.
A type with the given name exists in the parent assembly of this module.
-or-
Nested type attributes are set on a type that is not nested.
is .
Constructs a given the type name, attributes, the type that the defined type extends, and the interfaces that the defined type implements.
The full path of the type. cannot contain embedded nulls.
The attributes to be associated with the type.
The type that the defined type extends.
The list of interfaces that the type implements.
A created with all of the requested attributes.
A type with the given name exists in the parent assembly of this module.
-or-
Nested type attributes are set on a type that is not nested.
is .
Defines an uninitialized data field in the .sdata section of the portable executable (PE) file.
The name used to refer to the data. cannot contain embedded nulls.
The size of the data field.
The attributes for the field.
A field to reference the data.
The length of is zero.
-or-
is less than or equal to zero, or greater than or equal to 0x003f0000.
is .
has been previously called.
Returns a value that indicates whether this instance is equal to the specified object.
An object to compare with this instance, or .
if equals the type and value of this instance; otherwise, .
Gets a representing the fully qualified name and path to this module.
The fully qualified module name.
Returns the named method on an array class.
An array class.
The name of a method on the array class.
The method's calling convention.
The return type of the method.
The types of the method's parameters.
The named method on an array class.
is not an array.
or is .
Returns all the custom attributes that have been applied to the current .
This argument is ignored for objects of this type.
An array that contains the custom attributes; the array is empty if there are no attributes.
Returns all the custom attributes that have been applied to the current , and that derive from a specified attribute type.
The base type from which attributes derive.
This argument is ignored for objects of this type.
An array that contains the custom attributes that are derived, at any level, from ; the array is empty if there are no such attributes.
is .
is not a object supplied by the runtime. For example, is a object.
Returns information about the attributes that have been applied to the current , expressed as objects.
A generic list of objects representing data about the attributes that have been applied to the current module.
Returns a module-level field, defined in the .sdata region of the portable executable (PE) file, that has the specified name and binding attributes.
The field name.
A combination of the bit flags used to control the search.
A field that has the specified name and binding attributes, or if the field does not exist.
The parameter is .
Returns all fields defined in the .sdata region of the portable executable (PE) file that match the specified binding flags.
A combination of the bit flags used to control the search.
An array of fields that match the specified flags; the array is empty if no such fields exist.
The parameter is .
Returns the hash code for this instance.
A 32-bit signed integer hash code.
Returns all the methods that have been defined at the module level for the current , and that match the specified binding flags.
A combination of bit flags used to control the search.
An array that contains all the module-level methods that match .
Gets a pair of values indicating the nature of the code in a module and the platform targeted by the module.
When this method returns, a combination of the values indicating the nature of the code in the module.
When this method returns, one of the values indicating the platform targeted by the module.
Gets the named type defined in the module.
The name of the to get.
The requested type, if the type is defined in this module; otherwise, .
Length of is zero or is greater than 1023.
is .
The requested is non-public and the caller does not have to reflect non-public objects outside the current assembly.
A class initializer is invoked and throws an exception.
An error is encountered while loading the .
Gets the named type defined in the module, optionally ignoring the case of the type name.
The name of the to get.
If , the search is case-insensitive. If , the search is case-sensitive.
The requested type, if the type is defined in this module; otherwise, .
Length of is zero or is greater than 1023.
is .
The requested is non-public and the caller does not have to reflect non-public objects outside the current assembly.
A class initializer is invoked and throws an exception.
Gets the named type defined in the module, optionally ignoring the case of the type name. Optionally throws an exception if the type is not found.
The name of the to get.
to throw an exception if the type cannot be found; to return .
If , the search is case-insensitive. If , the search is case-sensitive.
The specified type, if the type is declared in this module; otherwise, .
Length of is zero or is greater than 1023.
is .
The requested is non-public and the caller does not have to reflect non-public objects outside the current assembly.
A class initializer is invoked and throws an exception.
is and the specified type is not found.
Returns all the classes defined within this module.
An array that contains the types defined within the module that is reflected by this instance.
One or more classes in a module could not be loaded.
The caller does not have the required permission.
Returns a value that indicates whether the specified attribute type has been applied to this module.
The type of custom attribute to test for.
This argument is ignored for objects of this type.
if one or more instances of have been applied to this module; otherwise, .
is .
is not a object supplied by the runtime. For example, is a object.
Gets a value indicating whether the object is a resource.
if the object is a resource; otherwise, .
Gets the metadata stream version.
A 32-bit integer representing the metadata stream version. The high-order two bytes represent the major version number, and the low-order two bytes represent the minor version number.
Gets a token that identifies the current dynamic module in metadata.
An integer token that identifies the current module in metadata.
Gets a universally unique identifier (UUID) that can be used to distinguish between two versions of a module.
A that can be used to distinguish between two versions of a module.
A string that indicates that this is an in-memory module.
Text that indicates that this is an in-memory module.
Returns the field identified by the specified metadata token, in the context defined by the specified generic type parameters.
A metadata token that identifies a field in the module.
An array of objects representing the generic type arguments of the type where the token is in scope, or if that type is not generic.
An array of objects representing the generic type arguments of the method where the token is in scope, or if that method is not generic.
A object representing the field that is identified by the specified metadata token.
is not a token for a field in the scope of the current module.
-or-
identifies a field whose parent has a signature containing element type (a type parameter of a generic type) or (a type parameter of a generic method), and the necessary generic type arguments were not supplied for either or both of and .
is not a valid token in the scope of the current module.
Returns the type or member identified by the specified metadata token, in the context defined by the specified generic type parameters.
A metadata token that identifies a type or member in the module.
An array of objects representing the generic type arguments of the type where the token is in scope, or if that type is not generic.
An array of objects representing the generic type arguments of the method where the token is in scope, or if that method is not generic.
A object representing the type or member that is identified by the specified metadata token.
is not a token for a type or member in the scope of the current module.
-or-
is a or whose signature contains element type (a type parameter of a generic type) or (a type parameter of a generic method), and the necessary generic type arguments were not supplied for either or both of and .
-or-
identifies a property or event.
is not a valid token in the scope of the current module.
Returns the method or constructor identified by the specified metadata token, in the context defined by the specified generic type parameters.
A metadata token that identifies a method or constructor in the module.
An array of objects representing the generic type arguments of the type where the token is in scope, or if that type is not generic.
An array of objects representing the generic type arguments of the method where the token is in scope, or if that method is not generic.
A object representing the method that is identified by the specified metadata token.
is not a token for a method or constructor in the scope of the current module.
-or-
is a whose signature contains element type (a type parameter of a generic type) or (a type parameter of a generic method), and the necessary generic type arguments were not supplied for either or both of and .
is not a valid token in the scope of the current module.
Returns the signature blob identified by a metadata token.
A metadata token that identifies a signature in the module.
An array of bytes representing the signature blob.
is not a valid , , , signature, or token in the scope of the current module.
is not a valid token in the scope of the current module.
Returns the string identified by the specified metadata token.
A metadata token that identifies a string in the string heap of the module.
A containing a string value from the metadata string heap.
is not a token for a string in the scope of the current module.
is not a valid token in the scope of the current module.
Returns the type identified by the specified metadata token, in the context defined by the specified generic type parameters.
A metadata token that identifies a type in the module.
An array of objects representing the generic type arguments of the type where the token is in scope, or if that type is not generic.
An array of objects representing the generic type arguments of the method where the token is in scope, or if that method is not generic.
A object representing the type that is identified by the specified metadata token.
is not a token for a type in the scope of the current module.
-or-
is a whose signature contains element type (a type parameter of a generic type) or (a type parameter of a generic method), and the necessary generic type arguments were not supplied for either or both of and .
is not a valid token in the scope of the current module.
Gets a string that represents the name of the dynamic module.
The name of the dynamic module.
Applies a custom attribute to this module by using a specified binary large object (BLOB) that represents the attribute.
The constructor for the custom attribute.
A byte BLOB representing the attribute.
or is .
Applies a custom attribute to this module by using a custom attribute builder.
An instance of a helper class that specifies the custom attribute to apply.
is .
Defines the properties for a type.
Adds one of the other methods associated with this property.
A object that represents the other method.
is .
has been called on the enclosing type.
Gets the attributes for this property.
Attributes of this property.
Gets a value indicating whether the property can be read.
if this property can be read; otherwise, .
Gets a value indicating whether the property can be written to.
if this property can be written to; otherwise, .
Gets the class that declares this member.
The object for the class that declares this member.
Returns an array of the public and non-public and accessors on this property.
Indicates whether non-public methods should be returned in the array. if non-public methods are to be included; otherwise, .
An array of type containing the matching public or non-public accessors, or an empty array if matching accessors do not exist on this property.
This method is not supported.
Returns an array of all the custom attributes for this property.
If , walks up this property's inheritance chain to find the custom attributes
An array of all the custom attributes.
This method is not supported.
Returns an array of custom attributes identified by .
An array of custom attributes identified by type.
If , walks up this property's inheritance chain to find the custom attributes.
An array of custom attributes defined on this reflected member, or if no attributes are defined on this member.
This method is not supported.
Returns the public and non-public get accessor for this property.
Indicates whether non-public get accessors should be returned. if non-public methods are to be included; otherwise, .
A object representing the get accessor for this property, if is . Returns if is and the get accessor is non-public, or if is but no get accessors exist.
Returns an array of all the index parameters for the property.
An array of type containing the parameters for the indexes.
This method is not supported.
Returns the set accessor for this property.
Indicates whether the accessor should be returned if it is non-public. if non-public methods are to be included; otherwise, .
The property's method, or , as shown in the following table.
Value
Condition
A object representing the Set method for this property.
The set accessor is public.
is true and non-public methods can be returned.
null
is true, but the property is read-only.
is false and the set accessor is non-public.
Gets the value of the indexed property by calling the property's getter method.
The object whose property value will be returned.
Optional index values for indexed properties. This value should be for non-indexed properties.
The value of the specified indexed property.
This method is not supported.
Gets the value of a property having the specified binding, index, and .
The object whose property value will be returned.
The invocation attribute. This must be a bit flag from : , , , , , , or . A suitable invocation attribute must be specified. If a static member is to be invoked, the flag of must be set.
An object that enables the binding, coercion of argument types, invocation of members, and retrieval of objects using reflection. If is , the default binder is used.
Optional index values for indexed properties. This value should be for non-indexed properties.
The object that represents the culture for which the resource is to be localized. Note that if the resource is not localized for this culture, the method will be called successively in search of a match. If this value is , the is obtained from the property.
The property value for .
This method is not supported.
Indicates whether one or more instance of is defined on this property.
The object to which the custom attributes are applied.
Specifies whether to walk up this property's inheritance chain to find the custom attributes.
if one or more instance of is defined on this property; otherwise .
This method is not supported.
Gets the module in which the type that declares the current property is being defined.
The in which the type that declares the current property is defined.
Gets the name of this member.
A containing the name of this member.
Gets the type of the field of this property.
The type of this property.
Gets the class object that was used to obtain this instance of .
The object through which this object was obtained.
Sets the default value of this property.
The default value of this property.
has been called on the enclosing type.
The property is not one of the supported types.
-or-
The type of does not match the type of the property.
-or-
The property is of type or other reference type, is not , and the value cannot be assigned to the reference type.
Set a custom attribute using a specified custom attribute blob.
The constructor for the custom attribute.
A byte blob representing the attributes.
or is .
has been called on the enclosing type.
Set a custom attribute using a custom attribute builder.
An instance of a helper class to define the custom attribute.
is .
if has been called on the enclosing type.
Sets the method that gets the property value.
A object that represents the method that gets the property value.
is .
has been called on the enclosing type.
Sets the method that sets the property value.
A object that represents the method that sets the property value.
is .
has been called on the enclosing type.
Sets the value of the property with optional index values for index properties.
The object whose property value will be set.
The new value for this property.
Optional index values for indexed properties. This value should be for non-indexed properties.
This method is not supported.
Sets the property value for the given object to the given value.
The object whose property value will be returned.
The new value for this property.
The invocation attribute. This must be a bit flag from : , , , , , , or . A suitable invocation attribute must be specified. If a static member is to be invoked, the flag of must be set.
An object that enables the binding, coercion of argument types, invocation of members, and retrieval of objects using reflection. If is , the default binder is used.
Optional index values for indexed properties. This value should be for non-indexed properties.
The object that represents the culture for which the resource is to be localized. Note that if the resource is not localized for this culture, the method will be called successively in search of a match. If this value is , the is obtained from the property.
This method is not supported.
Defines and creates new instances of classes during run time.
Adds an interface that this type implements.
The interface that this type implements.
is .
The type was previously created using .
Retrieves the dynamic assembly that contains this type definition.
Read-only. Retrieves the dynamic assembly that contains this type definition.
Returns the full name of this type qualified by the display name of the assembly.
Read-only. The full name of this type qualified by the display name of the assembly.
Retrieves the base type of this type.
Read-only. Retrieves the base type of this type.
Creates a object for the class. After defining fields and methods on the class, is called in order to load its object.
Returns the new object for this class.
The enclosing type has not been created.
-or-
This type is non-abstract and contains an abstract method.
-or-
This type is not an abstract class or an interface and has a method without a method body.
Bad label content in : You have defined a label without calling .
The type contains invalid Microsoft intermediate language (MSIL) code.
-or-
The branch target is specified using a 1-byte offset, but the target is at a distance greater than 127 bytes from the branch.
The type cannot be loaded. For example, it contains a method that has the calling convention .
Gets a object that represents this type.
An object that represents this type.
Gets the method that declared the current generic type parameter.
A that represents the method that declared the current type, if the current type is a generic type parameter; otherwise, .
Returns the type that declared this type.
Read-only. The type that declared this type.
Adds a new constructor to the type, with the given attributes and signature.
The attributes of the constructor.
The calling convention of the constructor.
The parameter types of the constructor.
The defined constructor.
The type was previously created using .
Adds a new constructor to the type, with the given attributes, signature, and custom modifiers.
The attributes of the constructor.
The calling convention of the constructor.
The parameter types of the constructor.
An array of arrays of types. Each array of types represents the required custom modifiers for the corresponding parameter, such as . If a particular parameter has no required custom modifiers, specify instead of an array of types. If none of the parameters have required custom modifiers, specify instead of an array of arrays.
An array of arrays of types. Each array of types represents the optional custom modifiers for the corresponding parameter, such as . If a particular parameter has no optional custom modifiers, specify instead of an array of types. If none of the parameters have optional custom modifiers, specify instead of an array of arrays.
The defined constructor.
The size of or does not equal the size of .
The type was previously created using .
-or-
For the current dynamic type, the property is , but the property is .
Defines the parameterless constructor. The constructor defined here will simply call the parameterless constructor of the parent.
A object representing the attributes to be applied to the constructor.
Returns the constructor.
The parent type (base type) does not have a parameterless constructor.
The type was previously created using .
-or-
For the current dynamic type, the property is , but the property is .
Adds a new event to the type, with the given name, attributes and event type.
The name of the event. cannot contain embedded nulls.
The attributes of the event.
The type of the event.
The defined event.
The length of is zero.
is .
-or-
is .
The type was previously created using .
Adds a new field to the type, with the given name, attributes, and field type.
The name of the field. cannot contain embedded nulls.
The type of the field
The attributes of the field.
The defined field.
The length of is zero.
-or-
is System.Void.
-or-
A total size was specified for the parent class of this field.
is .
The type was previously created using .
Adds a new field to the type, with the given name, attributes, field type, and custom modifiers.
The name of the field. cannot contain embedded nulls.
The type of the field
An array of types representing the required custom modifiers for the field, such as .
An array of types representing the optional custom modifiers for the field, such as .
The attributes of the field.
The defined field.
The length of is zero.
-or-
is System.Void.
-or-
A total size was specified for the parent class of this field.
is .
The type was previously created using .
Defines the generic type parameters for the current type, specifying their number and their names, and returns an array of objects that can be used to set their constraints.
An array of names for the generic type parameters.
An array of objects that can be used to define the constraints of the generic type parameters for the current type.
Generic type parameters have already been defined for this type.
is .
-or-
An element of is .
is an empty array.
Defines initialized data field in the .sdata section of the portable executable (PE) file.
The name used to refer to the data. cannot contain embedded nulls.
The blob of data.
The attributes for the field.
A field to reference the data.
Length of is zero.
-or-
The size of the data is less than or equal to zero, or greater than or equal to 0x3f0000.
or is .
has been previously called.
Adds a new method to the type, with the specified name and method attributes.
The name of the method. cannot contain embedded nulls.
The attributes of the method.
A representing the newly defined method.
The length of is zero.
-or-
The type of the parent of this method is an interface, and this method is not virtual ( in Visual Basic).
is .
The type was previously created using .
-or-
For the current dynamic type, the property is , but the property is .
Adds a new method to the type, with the specified name, method attributes, and calling convention.
The name of the method. cannot contain embedded nulls.
The attributes of the method.
The calling convention of the method.
A representing the newly defined method.
The length of is zero.
-or-
The type of the parent of this method is an interface and this method is not virtual ( in Visual Basic).
is .
The type was previously created using .
-or-
For the current dynamic type, the property is , but the property is .
Adds a new method to the type, with the specified name, method attributes, calling convention, and method signature.
The name of the method. cannot contain embedded nulls.
The attributes of the method.
The calling convention of the method.
The return type of the method.
The types of the parameters of the method.
A representing the newly defined method.
The length of is zero.
-or-
The type of the parent of this method is an interface, and this method is not virtual ( in Visual Basic).
is .
The type was previously created using .
-or-
For the current dynamic type, the property is , but the property is .
Adds a new method to the type, with the specified name, method attributes, calling convention, method signature, and custom modifiers.
The name of the method. cannot contain embedded nulls.
The attributes of the method.
The calling convention of the method.
The return type of the method.
An array of types representing the required custom modifiers, such as , for the return type of the method. If the return type has no required custom modifiers, specify .
An array of types representing the optional custom modifiers, such as , for the return type of the method. If the return type has no optional custom modifiers, specify .
The types of the parameters of the method.
An array of arrays of types. Each array of types represents the required custom modifiers for the corresponding parameter, such as . If a particular parameter has no required custom modifiers, specify instead of an array of types. If none of the parameters have required custom modifiers, specify instead of an array of arrays.
An array of arrays of types. Each array of types represents the optional custom modifiers for the corresponding parameter, such as . If a particular parameter has no optional custom modifiers, specify instead of an array of types. If none of the parameters have optional custom modifiers, specify instead of an array of arrays.
A object representing the newly added method.
The length of is zero.
-or-
The type of the parent of this method is an interface, and this method is not virtual ( in Visual Basic).
-or-
The size of or does not equal the size of .
is .
The type was previously created using .
-or-
For the current dynamic type, the property is , but the property is .
Adds a new method to the type, with the specified name, method attributes, and method signature.
The name of the method. cannot contain embedded nulls.
The attributes of the method.
The return type of the method.
The types of the parameters of the method.
The defined method.
The length of is zero.
-or-
The type of the parent of this method is an interface, and this method is not virtual ( in Visual Basic).
is .
The type was previously created using .
-or-
For the current dynamic type, the property is , but the property is .
Specifies a given method body that implements a given method declaration, potentially with a different name.
The method body to be used. This should be a object.
The method whose declaration is to be used.
does not belong to this class.
or is .
The type was previously created using .
-or-
The declaring type of is not the type represented by this .
Defines a nested type, given its name.
The short name of the type. cannot contain embedded nulls.
The defined nested type.
Length of is zero or greater than 1023.
-or-
This operation would create a type with a duplicate in the current assembly.
is .
Defines a nested type, given its name and attributes.
The short name of the type. cannot contain embedded nulls.
The attributes of the type.
The defined nested type.
The nested attribute is not specified.
-or-
This type is sealed.
-or-
This type is an array.
-or-
This type is an interface, but the nested type is not an interface.
-or-
The length of is zero or greater than 1023.
-or-
This operation would create a type with a duplicate in the current assembly.
is .
Defines a nested type, given its name, attributes, and the type that it extends.
The short name of the type. cannot contain embedded nulls.
The attributes of the type.
The type that the nested type extends.
The defined nested type.
The nested attribute is not specified.
-or-
This type is sealed.
-or-
This type is an array.
-or-
This type is an interface, but the nested type is not an interface.
-or-
The length of is zero or greater than 1023.
-or-
This operation would create a type with a duplicate in the current assembly.
is .
Defines a nested type, given its name, attributes, the total size of the type, and the type that it extends.
The short name of the type. cannot contain embedded nulls.
The attributes of the type.
The type that the nested type extends.
The total size of the type.
The defined nested type.
The nested attribute is not specified.
-or-
This type is sealed.
-or-
This type is an array.
-or-
This type is an interface, but the nested type is not an interface.
-or-
The length of is zero or greater than 1023.
-or-
This operation would create a type with a duplicate in the current assembly.
is .
Defines a nested type, given its name, attributes, the type that it extends, and the packing size.
The short name of the type. cannot contain embedded nulls.
The attributes of the type.
The type that the nested type extends.
The packing size of the type.
The defined nested type.
The nested attribute is not specified.
-or-
This type is sealed.
-or-
This type is an array.
-or-
This type is an interface, but the nested type is not an interface.
-or-
The length of is zero or greater than 1023.
-or-
This operation would create a type with a duplicate in the current assembly.
is .
Defines a nested type, given its name, attributes, size, and the type that it extends.
The short name of the type. cannot contain embedded null values.
The attributes of the type.
The type that the nested type extends.
The packing size of the type.
The total size of the type.
The defined nested type.
Defines a nested type, given its name, attributes, the type that it extends, and the interfaces that it implements.
The short name of the type. cannot contain embedded nulls.
The attributes of the type.
The type that the nested type extends.
The interfaces that the nested type implements.
The defined nested type.
The nested attribute is not specified.
-or-
This type is sealed.
-or-
This type is an array.
-or-
This type is an interface, but the nested type is not an interface.
-or-
The length of is zero or greater than 1023.
-or-
This operation would create a type with a duplicate in the current assembly.
is .
-or-
An element of the array is .
Defines a method given its name, the name of the DLL in which the method is defined, the attributes of the method, the calling convention of the method, the return type of the method, the types of the parameters of the method, and the flags.
The name of the method. cannot contain embedded nulls.
The name of the DLL in which the method is defined.
The attributes of the method.
The method's calling convention.
The method's return type.
The types of the method's parameters.
The native calling convention.
The method's native character set.
The defined method.
The method is not static.
-or-
The parent type is an interface.
-or-
The method is abstract.
-or-
The method was previously defined.
-or-
The length of or is zero.
or is .
The containing type has been previously created using .
Defines a method given its name, the name of the DLL in which the method is defined, the name of the entry point, the attributes of the method, the calling convention of the method, the return type of the method, the types of the parameters of the method, and the flags.
The name of the method. cannot contain embedded nulls.
The name of the DLL in which the method is defined.
The name of the entry point in the DLL.
The attributes of the method.
The method's calling convention.
The method's return type.
The types of the method's parameters.
The native calling convention.
The method's native character set.
The defined method.
The method is not static.
-or-
The parent type is an interface.
-or-
The method is abstract.
-or-
The method was previously defined.
-or-
The length of , , or is zero.
, , or is .
The containing type has been previously created using .
Defines a method given its name, the name of the DLL in which the method is defined, the name of the entry point, the attributes of the method, the calling convention of the method, the return type of the method, the types of the parameters of the method, the flags, and custom modifiers for the parameters and return type.
The name of the method. cannot contain embedded nulls.
The name of the DLL in which the method is defined.
An array of arrays of types. Each array of types represents the optional custom modifiers for the corresponding parameter, such as . If a particular parameter has no optional custom modifiers, specify instead of an array of types. If none of the parameters have optional custom modifiers, specify instead of an array of arrays.
The native calling convention.
The method's native character set.
The name of the entry point in the DLL.
The attributes of the method.
The method's calling convention.
The method's return type.
An array of types representing the required custom modifiers, such as , for the return type of the method. If the return type has no required custom modifiers, specify .
An array of types representing the optional custom modifiers, such as , for the return type of the method. If the return type has no optional custom modifiers, specify .
The types of the method's parameters.
An array of arrays of types. Each array of types represents the required custom modifiers for the corresponding parameter, such as . If a particular parameter has no required custom modifiers, specify instead of an array of types. If none of the parameters have required custom modifiers, specify instead of an array of arrays.
A representing the defined method.
The method is not static.
-or-
The parent type is an interface.
-or-
The method is abstract.
-or-
The method was previously defined.
-or-
The length of , , or is zero.
-or-
The size of or does not equal the size of .
, , or is .
The type was previously created using .
-or-
For the current dynamic type, the property is , but the property is .
Adds a new property to the type, with the given name, attributes, calling convention, and property signature.
The name of the property. cannot contain embedded nulls.
The attributes of the property.
The calling convention of the property accessors.
The return type of the property.
The types of the parameters of the property.
The defined property.
The length of is zero.
is .
-or-
Any of the elements of the array is .
The type was previously created using .
Adds a new property to the type, with the given name, calling convention, property signature, and custom modifiers.
The name of the property. cannot contain embedded nulls.
The attributes of the property.
The calling convention of the property accessors.
The return type of the property.
An array of types representing the required custom modifiers, such as , for the return type of the property. If the return type has no required custom modifiers, specify .
An array of types representing the optional custom modifiers, such as , for the return type of the property. If the return type has no optional custom modifiers, specify .
The types of the parameters of the property.
An array of arrays of types. Each array of types represents the required custom modifiers for the corresponding parameter, such as . If a particular parameter has no required custom modifiers, specify instead of an array of types. If none of the parameters have required custom modifiers, specify instead of an array of arrays.
An array of arrays of types. Each array of types represents the optional custom modifiers for the corresponding parameter, such as . If a particular parameter has no optional custom modifiers, specify instead of an array of types. If none of the parameters have optional custom modifiers, specify instead of an array of arrays.
The defined property.
The length of is zero.
is .
-or-
Any of the elements of the array is .
The type was previously created using .
Adds a new property to the type, with the given name and property signature.
The name of the property. cannot contain embedded nulls.
The attributes of the property.
The return type of the property.
The types of the parameters of the property.
The defined property.
The length of is zero.
is .
-or-
Any of the elements of the array is .
The type was previously created using .
Adds a new property to the type, with the given name, property signature, and custom modifiers.
The name of the property. cannot contain embedded nulls.
The attributes of the property.
The return type of the property.
An array of types representing the required custom modifiers, such as , for the return type of the property. If the return type has no required custom modifiers, specify .
An array of types representing the optional custom modifiers, such as , for the return type of the property. If the return type has no optional custom modifiers, specify .
The types of the parameters of the property.
An array of arrays of types. Each array of types represents the required custom modifiers for the corresponding parameter, such as . If a particular parameter has no required custom modifiers, specify instead of an array of types. If none of the parameters have required custom modifiers, specify instead of an array of arrays.
An array of arrays of types. Each array of types represents the optional custom modifiers for the corresponding parameter, such as . If a particular parameter has no optional custom modifiers, specify instead of an array of types. If none of the parameters have optional custom modifiers, specify instead of an array of arrays.
The defined property.
The length of is zero.
is
-or-
Any of the elements of the array is
The type was previously created using .
Defines the initializer for this type.
Returns a type initializer.
The containing type has been previously created using .
Defines an uninitialized data field in the section of the portable executable (PE) file.
The name used to refer to the data. cannot contain embedded nulls.
The size of the data field.
The attributes for the field.
A field to reference the data.
Length of is zero.
-or-
is less than or equal to zero, or greater than or equal to 0x003f0000.
is .
The type was previously created using .
Retrieves the full path of this type.
Read-only. Retrieves the full path of this type.
Gets a value that indicates the covariance and special constraints of the current generic type parameter.
A bitwise combination of values that describes the covariance and special constraints of the current generic type parameter.
Gets the position of a type parameter in the type parameter list of the generic type that declared the parameter.
If the current object represents a generic type parameter, the position of the type parameter in the type parameter list of the generic type that declared the parameter; otherwise, undefined.
Returns the constructor of the specified constructed generic type that corresponds to the specified constructor of the generic type definition.
The constructed generic type whose constructor is returned.
A constructor on the generic type definition of , which specifies which constructor of to return.
A object that represents the constructor of corresponding to , which specifies a constructor belonging to the generic type definition of .
does not represent a generic type.
-or-
is not of type .
-or-
The declaring type of is not a generic type definition.
-or-
The declaring type of is not the generic type definition of .
Returns an array of objects representing the public and non-public constructors defined for this class, as specified.
This must be a bit flag from as in , , and so on.
Returns an array of objects representing the specified constructors defined for this class. If no constructors are defined, an empty array is returned.
This method is not implemented for incomplete types.
Returns all the custom attributes defined for this type.
Specifies whether to search this member's inheritance chain to find the attributes.
Returns an array of objects representing all the custom attributes of this type.
This method is not currently supported for incomplete types. Retrieve the type using and call on the returned .
Returns all the custom attributes of the current type that are assignable to a specified type.
The type of attribute to search for. Only attributes that are assignable to this type are returned.
Specifies whether to search this member's inheritance chain to find the attributes.
An array of custom attributes defined on the current type.
This method is not currently supported for incomplete types. Retrieve the type using and call on the returned .
is .
The type must be a type provided by the underlying runtime system.
Calling this method always throws .
This method is not supported. No value is returned.
This method is not supported.
Returns the event with the specified name.
The name of the event to search for.
A bitwise combination of values that limits the search.
An object representing the event declared or inherited by this type with the specified name, or if there are no matches.
This method is not implemented for incomplete types.
Returns the public events declared or inherited by this type.
Returns an array of objects representing the public events declared or inherited by this type. An empty array is returned if there are no public events.
This method is not implemented for incomplete types.
Returns the public and non-public events that are declared by this type.
A bitwise combination of values that limits the search.
Returns an array of objects representing the events declared or inherited by this type that match the specified binding flags. An empty array is returned if there are no matching events.
This method is not implemented for incomplete types.
Returns the field specified by the given name.
The name of the field to get.
This must be a bit flag from as in , , and so on.
Returns the object representing the field declared or inherited by this type with the specified name and public or non-public modifier. If there are no matches then is returned.
This method is not implemented for incomplete types.
Returns the field of the specified constructed generic type that corresponds to the specified field of the generic type definition.
The constructed generic type whose field is returned.
A field on the generic type definition of , which specifies which field of to return.
A object that represents the field of corresponding to , which specifies a field belonging to the generic type definition of .
does not represent a generic type.
-or-
is not of type .
-or-
The declaring type of is not a generic type definition.
-or-
The declaring type of is not the generic type definition of .
Returns the public and non-public fields that are declared by this type.
This must be a bit flag from : , , and so on.
Returns an array of objects representing the public and non-public fields declared or inherited by this type. An empty array is returned if there are no fields, as specified.
This method is not implemented for incomplete types.
Returns an array of objects representing the type arguments of a generic type or the type parameters of a generic type definition.
An array of objects. The elements of the array represent the type arguments of a generic type or the type parameters of a generic type definition.
Returns a object that represents a generic type definition from which the current type can be obtained.
A object representing a generic type definition from which the current type can be obtained.
The current type is not generic. That is, returns .
Returns the interface implemented (directly or indirectly) by this class with the fully qualified name matching the given interface name.
The name of the interface.
If , the search is case-insensitive. If , the search is case-sensitive.
Returns a object representing the implemented interface. Returns null if no interface matching name is found.
This method is not implemented for incomplete types.
Returns an interface mapping for the requested interface.
The of the interface for which the mapping is to be retrieved.
Returns the requested interface mapping.
This method is not implemented for incomplete types.
Returns an array of all the interfaces implemented on this type and its base types.
Returns an array of objects representing the implemented interfaces. If none are defined, an empty array is returned.
Returns all the public and non-public members declared or inherited by this type, as specified.
The name of the member.
The type of the member to return.
This must be a bit flag from , as in , , and so on.
Returns an array of objects representing the public and non-public members defined on this type if is used; otherwise, only the public members are returned.
This method is not implemented for incomplete types.
Returns the members for the public and non-public members declared or inherited by this type.
This must be a bit flag from , such as , , and so on.
Returns an array of objects representing the public and non-public members declared or inherited by this type. An empty array is returned if there are no matching members.
This method is not implemented for incomplete types.
Returns the method of the specified constructed generic type that corresponds to the specified method of the generic type definition.
The constructed generic type whose method is returned.
A method on the generic type definition of , which specifies which method of to return.
A object that represents the method of corresponding to , which specifies a method belonging to the generic type definition of .
is a generic method that is not a generic method definition.
-or-
does not represent a generic type.
-or-
is not of type .
-or-
The declaring type of is not a generic type definition.
-or-
The declaring type of is not the generic type definition of .
Returns all the public and non-public methods declared or inherited by this type, as specified.
This must be a bit flag from as in , , and so on.
Returns an array of objects representing the public and non-public methods defined on this type if is used; otherwise, only the public methods are returned.
This method is not implemented for incomplete types.
Returns the public and non-public nested types that are declared by this type.
The containing the name of the nested type to get.
A bitmask comprised of one or more that specify how the search is conducted.
-or-
Zero, to conduct a case-sensitive search for public methods.
A object representing the nested type that matches the specified requirements, if found; otherwise, .
This method is not implemented for incomplete types.
Returns the public and non-public nested types that are declared or inherited by this type.
This must be a bit flag from , as in , , and so on.
An array of objects representing all the types nested within the current that match the specified binding constraints.
An empty array of type , if no types are nested within the current , or if none of the nested types match the binding constraints.
This method is not implemented for incomplete types.
Returns all the public and non-public properties declared or inherited by this type, as specified.
This invocation attribute. This must be a bit flag from : , , and so on.
Returns an array of objects representing the public and non-public properties defined on this type if is used; otherwise, only the public properties are returned.
This method is not implemented for incomplete types.
Retrieves the GUID of this type.
Read-only. Retrieves the GUID of this type
This method is not currently supported for incomplete types.
Invokes the specified member. The method that is to be invoked must be accessible and provide the most specific match with the specified argument list, under the constraints of the specified binder and invocation attributes.
The name of the member to invoke. This can be a constructor, method, property, or field. A suitable invocation attribute must be specified. Note that it is possible to invoke the default member of a class by passing an empty string as the name of the member.
The invocation attribute. This must be a bit flag from .
An object that enables the binding, coercion of argument types, invocation of members, and retrieval of objects using reflection. If binder is , the default binder is used. See .
The object on which to invoke the specified member. If the member is static, this parameter is ignored.
An argument list. This is an array of Objects that contains the number, order, and type of the parameters of the member to be invoked. If there are no parameters this should be null.
An array of the same length as with elements that represent the attributes associated with the arguments of the member to be invoked. A parameter has attributes associated with it in the metadata. They are used by various interoperability services. See the metadata specs for more details.
An instance of used to govern the coercion of types. If this is null, the for the current thread is used. (Note that this is necessary to, for example, convert a String that represents 1000 to a Double value, since 1000 is represented differently by different cultures.)
Each parameter in the array gets the value in the corresponding element in the array. If the length of is greater than the length of , the remaining argument values are passed in order.
Returns the return value of the invoked member.
This method is not currently supported for incomplete types.
Gets a value that indicates whether a specified can be assigned to this object.
The object to test.
if the parameter and the current type represent the same type, or if the current type is in the inheritance hierarchy of , or if the current type is an interface that supports. if none of these conditions are valid, or if is .
Gets a value that indicates whether this object represents a constructed generic type.
if this object represents a constructed generic type; otherwise, .
Returns a value that indicates whether the current dynamic type has been created.
if the method has been called; otherwise, .
Determines whether a custom attribute is applied to the current type.
The type of attribute to search for. Only attributes that are assignable to this type are returned.
Specifies whether to search this member's inheritance chain to find the attributes.
if one or more instances of , or an attribute derived from , is defined on this type; otherwise, .
This method is not currently supported for incomplete types. Retrieve the type using and call on the returned .
is not defined.
is .
Gets a value indicating whether the current type is a generic type parameter.
if the current object represents a generic type parameter; otherwise, .
Gets a value indicating whether the current type is a generic type.
if the type represented by the current object is generic; otherwise, .
Gets a value indicating whether the current represents a generic type definition from which other generic types can be constructed.
if this object represents a generic type definition; otherwise, .
Gets a value that indicates whether the current type is security-critical or security-safe-critical, and therefore can perform critical operations.
if the current type is security-critical or security-safe-critical; if it is transparent.
The current dynamic type has not been created by calling the method.
Gets a value that indicates whether the current type is security-safe-critical; that is, whether it can perform critical operations and can be accessed by transparent code.
if the current type is security-safe-critical; if it is security-critical or transparent.
The current dynamic type has not been created by calling the method.
Gets a value that indicates whether the current type is transparent, and therefore cannot perform critical operations.
if the type is security-transparent; otherwise, .
The current dynamic type has not been created by calling the method.
Determines whether this type is derived from a specified type.
A that is to be checked.
Read-only. Returns if this type is the same as the type , or is a subtype of type ; otherwise, .
Returns a object that represents a one-dimensional array of the current type, with a lower bound of zero.
A object representing a one-dimensional array type whose element type is the current type, with a lower bound of zero.
Returns a object that represents an array of the current type, with the specified number of dimensions.
The number of dimensions for the array.
A object that represents a one-dimensional array of the current type.
is not a valid array dimension.
Returns a object that represents the current type when passed as a parameter ( in Visual Basic).
A object that represents the current type when passed as a parameter ( in Visual Basic).
Substitutes the elements of an array of types for the type parameters of the current generic type definition, and returns the resulting constructed type.
An array of types to be substituted for the type parameters of the current generic type definition.
A representing the constructed type formed by substituting the elements of for the type parameters of the current generic type.
The current type does not represent the definition of a generic type. That is, returns .
is .
-or-
Any element of is .
The property of any element of is .
-or-
The property of the module of any element of is .
Returns a object that represents the type of an unmanaged pointer to the current type.
A object that represents the type of an unmanaged pointer to the current type.
Retrieves the dynamic module that contains this type definition.
Read-only. Retrieves the dynamic module that contains this type definition.
Retrieves the name of this type.
Read-only. Retrieves the name of this type.
Retrieves the namespace where this is defined.
Read-only. Retrieves the namespace where this is defined.
Retrieves the packing size of this type.
Read-only. Retrieves the packing size of this type.
Returns the type that was used to obtain this type.
Read-only. The type that was used to obtain this type.
Sets a custom attribute using a specified custom attribute blob.
The constructor for the custom attribute.
A byte blob representing the attributes.
or is .
For the current dynamic type, the property is , but the property is .
Set a custom attribute using a custom attribute builder.
An instance of a helper class to define the custom attribute.
is .
For the current dynamic type, the property is , but the property is .
Sets the base type of the type currently under construction.
The new base type.
The type was previously created using .
-or-
is , and the current instance represents an interface whose attributes do not include .
-or-
For the current dynamic type, the property is , but the property is .
is an interface. This exception condition is new in the .NET Framework version 2.0.
Retrieves the total size of a type.
Read-only. Retrieves this type's total size.
Returns the name of the type excluding the namespace.
Read-only. The name of the type excluding the namespace.
Not supported in dynamic modules.
Read-only.
Not supported in dynamic modules.
Returns the underlying system type for this .
Read-only. Returns the underlying system type.
This type is an enumeration, but there is no underlying system type.
Represents that total size for the type is not specified.