System.Reflection.Module: Method Members

The methods of System.Reflection.Module are listed below. For a list of all members, see the Module Members list.

See Also: Inherited members from System.Object

Public Methods

override
Equals(object) : bool

Determines whether this module and the specified object are equal.

FindTypes(TypeFilter, object) : Type[]

Returns an array of classes accepted by the given filter and filter criteria.

GetCustomAttributes(bool) : object[]

Returns all custom attributes.

GetCustomAttributes(Type, bool) : object[]

Gets custom attributes of the specified type.

GetCustomAttributesData() : IList<CustomAttributeData>

Returns a list of System.Reflection.CustomAttributeData objects for the current module, which can be used in the reflection-only context.

GetField(string) : FieldInfo

Returns a field having the specified name.

GetField(string, BindingFlags) : FieldInfo

Returns a field having the specified name and binding attributes.

GetFields() : FieldInfo[]

Returns the global fields defined on the module.

GetFields(BindingFlags) : FieldInfo[]

Returns the global fields defined on the module that match the specified binding flags.

override
GetHashCode() : int

Returns the hash code for this instance.

GetMethod(string) : MethodInfo

Returns a method having the specified name.

GetMethod(string, Type[]) : MethodInfo

Returns a method having the specified name and parameter types.

GetMethod(string, BindingFlags, Binder, CallingConventions, Type[], ParameterModifier[]) : MethodInfo

Returns a method having the specified name, binding information, calling convention, and parameter types and modifiers.

GetMethods() : MethodInfo[]

Returns the global methods defined on the module.

GetMethods(BindingFlags) : MethodInfo[]

Returns the global methods defined on the module that match the specified binding flags.

GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)

Provides an System.Runtime.Serialization.ISerializable implementation for serialized objects.

GetPEKind(out PortableExecutableKinds, out ImageFileMachine)
Documentation for this section has not yet been entered.
GetSignerCertificate() : System.Security.Cryptography.X509Certificates.X509Certificate

Returns an X509Certificate object corresponding to the certificate included in the Authenticode signature of the assembly which this module belongs to. If the assembly has not been Authenticode signed, null is returned.

GetType(string) : Type

Returns the specified type, performing a case-sensitive search.

GetType(string, bool) : Type

Returns the specified type, searching the module with the specified case sensitivity.

GetType(string, bool, bool) : Type

Returns the specified type, specifying whether to make a case-sensitive search of the module and whether to throw an exception if the type cannot be found.

GetTypes() : Type[]

Returns all the types defined within this module.

IsDefined(Type, bool) : bool

Returns a value that indicates whether the specified attribute type has been applied to this module.

IsResource() : bool

Gets a value indicating whether the object is a resource.

ResolveField(int) : FieldInfo

Returns the field identified by the specified metadata token.

ResolveField(int, Type[], Type[]) : FieldInfo

Returns the field identified by the specified metadata token, in the context defined by the specified generic type parameters.

ResolveMember(int) : MemberInfo

Returns the type or member identified by the specified metadata token.

ResolveMember(int, Type[], Type[]) : MemberInfo

Returns the type or member identified by the specified metadata token, in the context defined by the specified generic type parameters.

ResolveMethod(int) : MethodBase

Returns the method or constructor identified by the specified metadata token.

ResolveMethod(int, Type[], Type[]) : MethodBase

Returns the method or constructor identified by the specified metadata token, in the context defined by the specified generic type parameters.

ResolveSignature(int) : byte[]

Returns the signature blob identified by a metadata token.

ResolveString(int) : string

Returns the string identified by the specified metadata token.

ResolveType(int) : Type

Returns the type identified by the specified metadata token.

ResolveType(int, Type[], Type[]) : Type

Returns the type identified by the specified metadata token, in the context defined by the specified generic type parameters.

override
ToString() : string

Returns the name of the module.

Protected Methods

GetMethodImpl(string, BindingFlags, Binder, CallingConventions, Type[], ParameterModifier[]) : MethodInfo

Returns the method implementation in accordance with the specified criteria.