Compilation.RemoveReferences 方法

定义

重载

RemoveReferences(IEnumerable<MetadataReference>)

在不具有指定元数据引用的情况下创建新的编译。

RemoveReferences(MetadataReference[])

在不具有指定元数据引用的情况下创建新的编译。

RemoveReferences(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

在不具有指定元数据引用的情况下创建新的编译。

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

参数

references
IEnumerable<MetadataReference>

新引用。

返回

新的编译。

适用于

RemoveReferences(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

在不具有指定元数据引用的情况下创建新的编译。

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

参数

references
MetadataReference[]

新引用。

返回

新的编译。

适用于