Class SerializedImportedModule
- Namespace
- AsmResolver.PE.Imports
- Assembly
- AsmResolver.PE.dll
Provides an implementation of a module import entry present in a PE file.
public class SerializedImportedModule : ImportedModule
- Inheritance
-
SerializedImportedModule
- Inherited Members
Constructors
SerializedImportedModule(PEReaderContext, ref BinaryStreamReader)
Reads a module import entry from an input stream.
public SerializedImportedModule(PEReaderContext context, ref BinaryStreamReader reader)
Parameters
context
PEReaderContextThe reader context.
reader
BinaryStreamReaderThe input stream.
Fields
ModuleImportSize
The amount of bytes a single entry uses in the import directory table.
public const uint ModuleImportSize = 20
Field Value
Properties
IsEmpty
Determines whether the module import is empty, that is whether every field is 0.
public bool IsEmpty { get; }
Property Value
Remarks
The PE file format uses an empty module import entry to indicate the end of the list of imported modules.
Methods
GetSymbols()
Obtains the collection of members that were imported.
protected override IList<ImportedSymbol> GetSymbols()
Returns
- IList<ImportedSymbol>
The members list.
Remarks
This method is called to initialize the value of Symbols property.