Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/dotnet/vscode-csharp
/ add
Method
add
src/compositeDisposable.ts:24–30 ·
view source on GitHub ↗
(disposable: IDisposable)
Source
from the content-addressed store, hash-verified
22
}
23
24
public add(disposable: IDisposable) {
25
if
(!disposable) {
26
throw
new
Error(
'disposable cannot be null'
);
27
}
28
29
this.disposables.add(() => disposable.dispose());
30
}
31
}
Callers
15
constructor
Method · 0.95
activate
Function · 0.95
start
Method · 0.95
registerCommands
Function · 0.95
constructor
Method · 0.95
registerProviders
Method · 0.95
activate
Function · 0.95
prioritization.ts
File · 0.80
isDeferredCommand
Function · 0.80
addDisposables
Function · 0.80
start
Method · 0.80
start
Method · 0.80
Calls
1
dispose
Method · 0.65
Tested by
no test coverage detected