Compartir a través de


CSharpCompilation.WithAssemblyName(String) Method

Definition

Creates a new compilation with the specified name.

public:
 Microsoft::CodeAnalysis::CSharp::CSharpCompilation ^ WithAssemblyName(System::String ^ assemblyName);
public Microsoft.CodeAnalysis.CSharp.CSharpCompilation WithAssemblyName (string assemblyName);
public Microsoft.CodeAnalysis.CSharp.CSharpCompilation WithAssemblyName (string? assemblyName);
override this.WithAssemblyName : string -> Microsoft.CodeAnalysis.CSharp.CSharpCompilation
Public Function WithAssemblyName (assemblyName As String) As CSharpCompilation

Parameters

assemblyName
String

Returns

Applies to