CSharpCompilation.RemoveAllReferences Method

Definition

Creates a new compilation without any metadata references

public:
 Microsoft::CodeAnalysis::CSharp::CSharpCompilation ^ RemoveAllReferences();
public Microsoft.CodeAnalysis.CSharp.CSharpCompilation RemoveAllReferences ();
override this.RemoveAllReferences : unit -> Microsoft.CodeAnalysis.CSharp.CSharpCompilation
Public Function RemoveAllReferences () As CSharpCompilation

Returns

Applies to