Module Class (System.Reflection) By dotnet-bot Archived: 2026-04-05 12:57:09 UTC Equals(Object) Determines whether this module and the specified object are equal. Equals(Object) Determines whether the specified object is equal to the current object. (Inherited from Object) FindTypes(TypeFilter, Object) Returns an array of classes accepted by the given filter and filter criteria. GetCustomAttributes(Boolean) Returns all custom attributes. GetCustomAttributes(Type, Boolean) Gets custom attributes of the specified type. GetCustomAttributesData() Returns a list of CustomAttributeData objects for the current module, which can be used in the reflection-only context. GetField(String, BindingFlags) Returns a field having the specified name and binding attributes. GetField(String) Returns a field having the specified name. GetFields() Returns the global fields defined on the module. GetFields(BindingFlags) Returns the global fields defined on the module that match the specified binding flags. GetHashCode() https://docs.microsoft.com/en-us/dotnet/api/system.reflection.module Page 1 of 4 Returns the hash code for this instance. GetHashCode() Serves as the default hash function. (Inherited from Object) GetMethod(String, BindingFlags, Binder, CallingConventions, Type[], Parameter Modifier[]) Returns a method having the specified name, binding information, calling convention, and parameter types and modifiers. GetMethod(String, Type[]) Returns a method having the specified name and parameter types. GetMethod(String) Returns a method having the specified name. GetMethodImpl(String, BindingFlags, Binder, CallingConventions, Type[], ParameterModifier[]) Returns the method implementation in accordance with the specified criteria. GetMethods() Returns the global methods defined on the module. GetMethods(BindingFlags) Returns the global methods defined on the module that match the specified binding flags. GetObjectData(SerializationInfo, StreamingContext) Obsolete. Provides an ISerializable implementation for serialized objects. GetPEKind(PortableExecutableKinds, ImageFileMachine) Gets a pair of values indicating the nature of the code in a module and the platform targeted by the module. GetSignerCertificate() 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() Gets the Type of the current instance. https://docs.microsoft.com/en-us/dotnet/api/system.reflection.module Page 2 of 4 (Inherited from Object) GetType(String, Boolean, Boolean) 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. GetType(String, Boolean) Returns the specified type, searching the module with the specified case sensitivity. GetType(String) Returns the specified type, performing a case-sensitive search. GetTypes() Returns all the types defined within this module. IsDefined(Type, Boolean) Returns a value that indicates whether the specified attribute type has been applied to this module. IsResource() Gets a value indicating whether the object is a resource. MemberwiseClone() Creates a shallow copy of the current Object. (Inherited from Object) ResolveField(Int32, Type[], Type[]) Returns the field identified by the specified metadata token, in the context defined by the specified generic type parameters. ResolveField(Int32) Returns the field identified by the specified metadata token. ResolveMember(Int32, Type[], Type[]) Returns the type or member identified by the specified metadata token, in the context defined by the specified generic type parameters. ResolveMember(Int32) Returns the type or member identified by the specified metadata token. ResolveMethod(Int32, Type[], Type[]) Returns the method or constructor identified by the specified metadata token, in the context defined by the specified generic type parameters. https://docs.microsoft.com/en-us/dotnet/api/system.reflection.module Page 3 of 4 ResolveMethod(Int32) Returns the method or constructor identified by the specified metadata token. ResolveSignature(Int32) Returns the signature blob identified by a metadata token. ResolveString(Int32) Returns the string identified by the specified metadata token. ResolveType(Int32, Type[], Type[]) Returns the type identified by the specified metadata token, in the context defined by the specified generic type parameters. ResolveType(Int32) Returns the type identified by the specified metadata token. ToString() Returns the name of the module. Source: https://docs.microsoft.com/en-us/dotnet/api/system.reflection.module https://docs.microsoft.com/en-us/dotnet/api/system.reflection.module Page 4 of 4