private _createServiceInstance<T>(id: ServiceIdentifier<T>, ctor: any, args: unknown[] = [], supportsDelayedInstantiation: boolean, _trace: Trace, disposeBucket: Set<any>): T {
if (!supportsDelayedInstantiation) {
const result = this._createInstance<T>(ctor, args, _trace);
disposeBucket.add(result);
return result;
} else {
const child = new InstantiationService(undefined, this._strict, this, this._enableTracing);