AssemblyMetadata.GetModules Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Modules comprising this assembly. The first module is the manifest module.
public:
System::Collections::Immutable::ImmutableArray<Microsoft::CodeAnalysis::ModuleMetadata ^> GetModules();
public System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.ModuleMetadata> GetModules ();
member this.GetModules : unit -> System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.ModuleMetadata>
Public Function GetModules () As ImmutableArray(Of ModuleMetadata)
Returns
Exceptions
The PE image format is invalid.
IO error reading the metadata. See InnerException for details.
The object has been disposed.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.