AssemblyMetadata.CreateFromStream Method

Definition

Overloads

CreateFromStream(Stream, Boolean)

Creates a single-module assembly.

CreateFromStream(Stream, PEStreamOptions)

Creates a single-module assembly.

CreateFromStream(Stream, Boolean)

Source:
AssemblyMetadata.cs
Source:
AssemblyMetadata.cs
Source:
AssemblyMetadata.cs
Source:
AssemblyMetadata.cs
Source:
AssemblyMetadata.cs
Source:
AssemblyMetadata.cs
Source:
AssemblyMetadata.cs
Source:
AssemblyMetadata.cs
Source:
AssemblyMetadata.cs
Source:
AssemblyMetadata.cs
Source:
AssemblyMetadata.cs
Source:
AssemblyMetadata.cs
Source:
AssemblyMetadata.cs
Source:
AssemblyMetadata.cs
Source:
AssemblyMetadata.cs
Source:
AssemblyMetadata.cs
Source:
AssemblyMetadata.cs
Source:
AssemblyMetadata.cs
Source:
AssemblyMetadata.cs
Source:
AssemblyMetadata.cs
Source:
AssemblyMetadata.cs
Source:
AssemblyMetadata.cs
Source:
AssemblyMetadata.cs

Creates a single-module assembly.

public static Microsoft.CodeAnalysis.AssemblyMetadata CreateFromStream (System.IO.Stream peStream, bool leaveOpen = false);
static member CreateFromStream : System.IO.Stream * bool -> Microsoft.CodeAnalysis.AssemblyMetadata
Public Shared Function CreateFromStream (peStream As Stream, Optional leaveOpen As Boolean = false) As AssemblyMetadata

Parameters

peStream
Stream

Manifest module PE image stream.

leaveOpen
Boolean

False to close the stream upon disposal of the metadata.

Returns

Exceptions

The PE image format is invalid.

Applies to

CreateFromStream(Stream, PEStreamOptions)

Source:
AssemblyMetadata.cs
Source:
AssemblyMetadata.cs
Source:
AssemblyMetadata.cs
Source:
AssemblyMetadata.cs
Source:
AssemblyMetadata.cs
Source:
AssemblyMetadata.cs
Source:
AssemblyMetadata.cs
Source:
AssemblyMetadata.cs
Source:
AssemblyMetadata.cs
Source:
AssemblyMetadata.cs
Source:
AssemblyMetadata.cs
Source:
AssemblyMetadata.cs
Source:
AssemblyMetadata.cs
Source:
AssemblyMetadata.cs
Source:
AssemblyMetadata.cs
Source:
AssemblyMetadata.cs
Source:
AssemblyMetadata.cs
Source:
AssemblyMetadata.cs
Source:
AssemblyMetadata.cs
Source:
AssemblyMetadata.cs
Source:
AssemblyMetadata.cs
Source:
AssemblyMetadata.cs
Source:
AssemblyMetadata.cs

Creates a single-module assembly.

public:
 static Microsoft::CodeAnalysis::AssemblyMetadata ^ CreateFromStream(System::IO::Stream ^ peStream, System::Reflection::PortableExecutable::PEStreamOptions options);
public static Microsoft.CodeAnalysis.AssemblyMetadata CreateFromStream (System.IO.Stream peStream, System.Reflection.PortableExecutable.PEStreamOptions options);
static member CreateFromStream : System.IO.Stream * System.Reflection.PortableExecutable.PEStreamOptions -> Microsoft.CodeAnalysis.AssemblyMetadata
Public Shared Function CreateFromStream (peStream As Stream, options As PEStreamOptions) As AssemblyMetadata

Parameters

peStream
Stream

Manifest module PE image stream.

options
PEStreamOptions

False to close the stream upon disposal of the metadata.

Returns

Exceptions

The PE image format is invalid.

Applies to