Compartir a través de


Compilation.AddReferences Método

Definición

Sobrecargas

AddReferences(MetadataReference[])

Crea una nueva compilación con referencias de metadatos adicionales.

AddReferences(IEnumerable<MetadataReference>)

Crea una nueva compilación con referencias de metadatos adicionales.

AddReferences(MetadataReference[])

Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs

Crea una nueva compilación con referencias de metadatos adicionales.

public:
 Microsoft::CodeAnalysis::Compilation ^ AddReferences(... cli::array <Microsoft::CodeAnalysis::MetadataReference ^> ^ references);
public Microsoft.CodeAnalysis.Compilation AddReferences (params Microsoft.CodeAnalysis.MetadataReference[] references);
member this.AddReferences : Microsoft.CodeAnalysis.MetadataReference[] -> Microsoft.CodeAnalysis.Compilation
Public Function AddReferences (ParamArray references As MetadataReference()) As Compilation

Parámetros

references
MetadataReference[]

Las nuevas referencias.

Devoluciones

Nueva compilación.

Se aplica a

AddReferences(IEnumerable<MetadataReference>)

Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs

Crea una nueva compilación con referencias de metadatos adicionales.

public:
 Microsoft::CodeAnalysis::Compilation ^ AddReferences(System::Collections::Generic::IEnumerable<Microsoft::CodeAnalysis::MetadataReference ^> ^ references);
public Microsoft.CodeAnalysis.Compilation AddReferences (System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.MetadataReference> references);
member this.AddReferences : seq<Microsoft.CodeAnalysis.MetadataReference> -> Microsoft.CodeAnalysis.Compilation
Public Function AddReferences (references As IEnumerable(Of MetadataReference)) As Compilation

Parámetros

references
IEnumerable<MetadataReference>

Las nuevas referencias.

Devoluciones

Nueva compilación.

Se aplica a