CompilationUnitManager.Dispose Method

Definition

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.

Applies to