Interface
ModuleInfo
sealed interface ModuleInfo
Module: System.Introspection
Assembly: System.Runtime.dll
Source file: ModuleInfo.rvn
Closed hierarchy: only the permitted direct subtypes can extend this type.
Permitted direct subtypes: RuntimeModuleInfo
Describes a logical namespace of members within a loaded assembly. Dotted names are conventions, not metadata hierarchy.
Remarks
Development after Preview 9. Object equality compares full assembly identity and module name; hashes use the same components. Separate wrappers can compare equal. Null and other descriptor kinds compare false. No dynamic loading or cross-program identity is supported. See the introspection guide for Object display and identity limitations.
Properties
2 items
Assembly: AssemblyInfo
Gets the owning assembly descriptor. Repeated calls may allocate equal but distinct wrappers.
Defined by ModuleInfo.Assembly · Required implementation (no default).
Name: string
Gets the complete logical module name (empty for the global module). This name alone is not a globally unique identity.
Defined by ModuleInfo.Name · Required implementation (no default).
Methods
2 items
GetFunctions() -> Sequence<MethodInfo>
Gets directly declared module functions in metadata order, without visibility filtering or execution.
Defined by ModuleInfo.GetFunctions · Required implementation (no default).
GetTypes() -> Sequence<TypeInfo>
Gets retained type definitions owned by this exact logical module, including nested, nonpublic and open generic definitions; excludes other module names.
Defined by ModuleInfo.GetTypes · Required implementation (no default).