Compilation.RemoveAllReferences 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.
Creates a new compilation without any metadata references.
public:
Microsoft::CodeAnalysis::Compilation ^ RemoveAllReferences();
public Microsoft.CodeAnalysis.Compilation RemoveAllReferences ();
member this.RemoveAllReferences : unit -> Microsoft.CodeAnalysis.Compilation
Public Function RemoveAllReferences () As Compilation