CSharpCompilation.RemoveReferences 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.
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
- references
- IEnumerable<MetadataReference>
Returns
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.