CSharpCompilation.ToMetadataReference Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- aliases
- ImmutableArray<String>
- embedInteropTypes
- Boolean