Delen via


CSharpCompilation.RemoveReferences Method

Definition

Overloads

RemoveReferences(MetadataReference[])

Creates a new compilation without the specified metadata references.

RemoveReferences(IEnumerable<MetadataReference>)

Creates a new compilation without the specified metadata references.

RemoveReferences(MetadataReference[])

Source:
CSharpCompilation.cs
Source:
CSharpCompilation.cs
Source:
CSharpCompilation.cs
Source:
CSharpCompilation.cs
Source:
CSharpCompilation.cs
Source:
CSharpCompilation.cs
Source:
CSharpCompilation.cs
Source:
CSharpCompilation.cs
Source:
CSharpCompilation.cs
Source:
CSharpCompilation.cs
Source:
CSharpCompilation.cs
Source:
CSharpCompilation.cs
Source:
CSharpCompilation.cs
Source:
CSharpCompilation.cs
Source:
CSharpCompilation.cs
Source:
CSharpCompilation.cs
Source:
CSharpCompilation.cs
Source:
CSharpCompilation.cs
Source:
CSharpCompilation.cs
Source:
CSharpCompilation.cs
Source:
CSharpCompilation.cs
Source:
CSharpCompilation.cs
Source:
CSharpCompilation.cs

Creates a new compilation without the specified metadata references.

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

Parameters

references
MetadataReference[]

Returns

Applies to

RemoveReferences(IEnumerable<MetadataReference>)

Source:
CSharpCompilation.cs
Source:
CSharpCompilation.cs
Source:
CSharpCompilation.cs
Source:
CSharpCompilation.cs
Source:
CSharpCompilation.cs
Source:
CSharpCompilation.cs
Source:
CSharpCompilation.cs
Source:
CSharpCompilation.cs
Source:
CSharpCompilation.cs
Source:
CSharpCompilation.cs
Source:
CSharpCompilation.cs
Source:
CSharpCompilation.cs
Source:
CSharpCompilation.cs
Source:
CSharpCompilation.cs
Source:
CSharpCompilation.cs
Source:
CSharpCompilation.cs
Source:
CSharpCompilation.cs
Source:
CSharpCompilation.cs
Source:
CSharpCompilation.cs
Source:
CSharpCompilation.cs
Source:
CSharpCompilation.cs
Source:
CSharpCompilation.cs
Source:
CSharpCompilation.cs

Creates a new compilation without the specified metadata references.

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

Parameters

Returns

Applies to