共用方式為


CSharpCompilation.ToMetadataReference Method

Definition

public override Microsoft.CodeAnalysis.CompilationReference ToMetadataReference (System.Collections.Immutable.ImmutableArray<string> aliases = default, bool embedInteropTypes = false);
override this.ToMetadataReference : System.Collections.Immutable.ImmutableArray<string> * bool -> Microsoft.CodeAnalysis.CompilationReference
Public Overrides Function ToMetadataReference (Optional aliases As ImmutableArray(Of String) = Nothing, Optional embedInteropTypes As Boolean = false) As CompilationReference

Parameters

embedInteropTypes
Boolean

Returns

Applies to