CompilationUnitManager.Dispose 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.
Cancels any ongoing type checking, waits for all queued tasks to finish, and then disposes disposable content initialized within this CompilationUnitManager (in particular disposes the CompilationUnitManager.Compilation).
public void Dispose ();
abstract member Dispose : unit -> unit
override this.Dispose : unit -> unit
Public Sub Dispose ()
Implements
Remarks
Any FileContentManager managed by this compilation is *not* disposed, to allow potentially sharing file content managers between different compilation units.