Share via


AssemblyMetadata.CreateFromImage Method

Definition

Overloads

CreateFromImage(IEnumerable<Byte>)

Creates a single-module assembly.

CreateFromImage(ImmutableArray<Byte>)

Creates a single-module assembly.

CreateFromImage(IEnumerable<Byte>)

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 ^ CreateFromImage(System::Collections::Generic::IEnumerable<System::Byte> ^ peImage);
public static Microsoft.CodeAnalysis.AssemblyMetadata CreateFromImage (System.Collections.Generic.IEnumerable<byte> peImage);
static member CreateFromImage : seq<byte> -> Microsoft.CodeAnalysis.AssemblyMetadata
Public Shared Function CreateFromImage (peImage As IEnumerable(Of Byte)) As AssemblyMetadata

Parameters

peImage
IEnumerable<Byte>

Manifest module image.

Returns

Exceptions

peImage is null.

The PE image format is invalid.

Applies to

CreateFromImage(ImmutableArray<Byte>)

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 ^ CreateFromImage(System::Collections::Immutable::ImmutableArray<System::Byte> peImage);
public static Microsoft.CodeAnalysis.AssemblyMetadata CreateFromImage (System.Collections.Immutable.ImmutableArray<byte> peImage);
static member CreateFromImage : System.Collections.Immutable.ImmutableArray<byte> -> Microsoft.CodeAnalysis.AssemblyMetadata
Public Shared Function CreateFromImage (peImage As ImmutableArray(Of Byte)) As AssemblyMetadata

Parameters

peImage
ImmutableArray<Byte>

Manifest module image.

Returns

Exceptions

peImage is null.

Applies to