Click or drag to resize

AssemblyMetadata Class



Represents an immutable snapshot of assembly CLI metadata.
Inheritance Hierarchy

Namespace:  Microsoft.CodeAnalysis
Assembly:  Microsoft.CodeAnalysis (in Microsoft.CodeAnalysis.dll) Version: 2.3.0-dev-56735-00. Commit Hash: <developer build>
Syntax
public sealed class AssemblyMetadata : Metadata

The AssemblyMetadata type exposes the following members.

Properties
  NameDescription
Public propertyId
The id for this metadata instance. If two metadata instances have the same id, then they have the same content. If they have different ids they may or may not have the same content.
(Inherited from Metadata.)
Public propertyKind
Returns the metadata kind.
(Overrides MetadataKind.)
Top
Methods
  NameDescription
Public methodCopy
Creates a copy of this object.
(Inherited from Metadata.)
Public methodStatic memberCreate(IEnumerableT)
Public methodStatic memberCreate(ModuleMetadata)
Creates a single-module assembly.
Public methodStatic memberCreate(ModuleMetadata)
Creates a multi-module assembly.
Public methodStatic memberCreate(ImmutableArrayModuleMetadata)
Creates a multi-module assembly.
Public methodStatic memberCreateFromFile
Finds all modules of an assembly on a specified path and builds an instance of AssemblyMetadata that represents them.
Public methodStatic memberCreateFromImage(IEnumerableT)
Public methodStatic memberCreateFromImage(ImmutableArrayByte)
Creates a single-module assembly.
Public methodStatic memberCreateFromStream(Stream, Boolean)
Creates a single-module assembly.
Public methodStatic memberCreateFromStream(Stream, PEStreamOptions)
Creates a single-module assembly.
Public methodDispose
Disposes all modules contained in the assembly.
(Overrides MetadataDispose.)
Public methodGetModules
Modules comprising this assembly. The first module is the manifest module.
Public methodGetReference
Creates a reference to the assembly metadata.
Top
See Also